CassandraUserSessionStore

io.github.positionpal.location.storage.sessions.CassandraUserSessionStore

A Cassandra-based implementation of the UserSessionsStore.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class InvalidSessionVariation(message: String) extends StoreError

Attributes

Supertypes
trait Product
trait Equals
trait StoreError
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def apply[F[_] : CanRaise[StoreError]](session: F[CassandraSession], keyspace: String)(using evidence$1: Async[F], evidence$2: CanRaise[StoreError][F], actorSystem: ActorSystem[_]): F[UserSessionsStore[F, Unit]]

Creates a new instance of the Cassandra-based implementation of UserSessionsStore.

Creates a new instance of the Cassandra-based implementation of UserSessionsStore.

Type parameters

F

the effect type

Value parameters

actorSystem

the actor system to use for the Cassandra session

keyspace

the keyspace where the tables are stored. Default is "locationservice".

Attributes

Returns

a new instance of the Cassandra-based implementation of UserSessionsStore