Packages

c

slick.memory.DistributedBackend

DistributedSessionDef

class DistributedSessionDef extends BasicSessionDef

Source
DistributedBackend.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DistributedSessionDef
  2. BasicSessionDef
  3. Closeable
  4. AutoCloseable
  5. AnyRef
  6. Any
Implicitly
  1. by StringFormat
  2. by Ensuring
  3. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DistributedSessionDef(sessions: Vector[basic.BasicBackend.Session])

Value Members

  1. def close(): Unit

    Close this Session.

    Close this Session.

    Definition Classes
    DistributedSessionDefBasicSessionDef → Closeable → AutoCloseable
  2. def force(): Unit

    Force an actual database session to be opened.

    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.

    Definition Classes
    DistributedSessionDefBasicSessionDef
  3. def rollback(): Nothing
  4. val sessions: Vector[basic.BasicBackend.Session]
  5. def withTransaction[T](f: => T): Nothing