DistributedSessionDef

slick.memory.DistributedBackend.DistributedSessionDef
class DistributedSessionDef(val sessions: Vector[Session]) extends BasicSessionDef

Attributes

Source
DistributedBackend.scala
Graph
Supertypes
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def close(): Unit

Close this Session.

Close this Session.

Attributes

Source
DistributedBackend.scala
def force(): Unit

Force an actual database session to be opened. Slick sessions are lazy, so you do not get a real database connection until you need it or you call force() on the session.

Force an actual database session to be opened. Slick sessions are lazy, so you do not get a real database connection until you need it or you call force() on the session.

Attributes

Source
DistributedBackend.scala
def rollback(): Nothing

Attributes

Source
DistributedBackend.scala
def withTransaction[T](f: => T): Nothing

Attributes

Source
DistributedBackend.scala

Concrete fields

val sessions: Vector[Session]

Attributes

Source
DistributedBackend.scala