CassandraConnectionFactory

io.github.positionpal.location.storage.CassandraConnectionFactory

A factory for creating connections to a Cassandra database.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply[F[_] : Async](actorSystem: ActorSystem[_]): ConnectionFactory[F, CassandraSession]

Creates a new instance of a connection factory for Cassandra leveraging akka persistence plugin.

Creates a new instance of a connection factory for Cassandra leveraging akka persistence plugin.

Type parameters

F

the Async effect type

Value parameters

actorSystem

the actor system to use for the Cassandra session

Attributes

Returns

a new instance of ConnectionFactory for Cassandra