DistributedBackend

slick.memory.DistributedBackend
See theDistributedBackend companion trait

Attributes

Companion
trait
Source
DistributedBackend.scala
Graph
Supertypes
trait Logging
trait BasicBackend
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Inherited classlikes

The context object passed to database actions by the execution engine.

The context object passed to database actions by the execution engine.

Attributes

Inherited from:
BasicBackend
Source
BasicBackend.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait BasicDatabaseDef extends Closeable

A database instance to which connections can be created.

A database instance to which connections can be created.

Attributes

Inherited from:
BasicBackend
Source
BasicBackend.scala
Supertypes
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Known subtypes
trait BasicSessionDef extends Closeable

A logical session of a Database. The underlying database connection is created lazily on demand.

A logical session of a Database. The underlying database connection is created lazily on demand.

Attributes

Inherited from:
BasicBackend
Source
BasicBackend.scala
Supertypes
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Known subtypes
class BasicStreamingActionContext(subscriber: Subscriber[_], val useSameThread: Boolean, database: Database) extends BasicActionContext, StreamingActionContext, Subscription

A special DatabaseActionContext for streaming execution.

A special DatabaseActionContext for streaming execution.

Attributes

Inherited from:
BasicBackend
Source
BasicBackend.scala
Supertypes
trait Subscription
class Object
trait Matchable
class Any
Show all
Known subtypes
class DistributedDatabaseDef(val dbs: Vector[BasicDatabaseDef], val executionContext: ExecutionContext) extends BasicDatabaseDef

Attributes

Inherited from:
DistributedBackend
Source
DistributedBackend.scala
Supertypes
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Show all

Attributes

Inherited from:
DistributedBackend
Source
DistributedBackend.scala
Supertypes
class Object
trait Matchable
class Any
class DistributedSessionDef(val sessions: Vector[Session]) extends BasicSessionDef

Attributes

Inherited from:
DistributedBackend
Source
DistributedBackend.scala
Supertypes
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Show all

Inherited types

The type of the context used for running SynchronousDatabaseActions

The type of the context used for running SynchronousDatabaseActions

Attributes

Inherited from:
DistributedBackend
Source
DistributedBackend.scala

The type of database objects used by this backend.

The type of database objects used by this backend.

Attributes

Inherited from:
DistributedBackend
Source
DistributedBackend.scala

The type of the database factory used by this backend.

The type of the database factory used by this backend.

Attributes

Inherited from:
DistributedBackend
Source
DistributedBackend.scala

The type of session objects used by this backend.

The type of session objects used by this backend.

Attributes

Inherited from:
DistributedBackend
Source
DistributedBackend.scala

The type of the context used for streaming SynchronousDatabaseActions

The type of the context used for streaming SynchronousDatabaseActions

Attributes

Inherited from:
DistributedBackend
Source
DistributedBackend.scala

Value members

Inherited methods

def createDatabase(config: Config, path: String): Database

Create a Database instance through Typesafe Config. The supported config keys are backend-specific. This method is used by DatabaseConfig.

Create a Database instance through Typesafe Config. The supported config keys are backend-specific. This method is used by DatabaseConfig.

Value parameters

config

The Config object to read from.

path

The path in the configuration file for the database configuration, or an empty string for the top level of the Config object.

Attributes

Inherited from:
DistributedBackend
Source
DistributedBackend.scala

Inherited fields

The database factory

The database factory

Attributes

Inherited from:
DistributedBackend
Source
DistributedBackend.scala
lazy protected val actionLogger: SlickLogger

Attributes

Inherited from:
BasicBackend
Source
BasicBackend.scala
lazy protected val streamLogger: SlickLogger

Attributes

Inherited from:
BasicBackend
Source
BasicBackend.scala