DistributedBackend

slick.memory.DistributedBackend
See theDistributedBackend companion object

The backend for DistributedProfile.

Attributes

Companion:
object
Source:
DistributedBackend.scala
Graph
Supertypes
trait Logging
class Object
trait Matchable
class Any
Known subtypes
object DistributedBackend.type

Members list

Concise view

Type members

Classlikes

class DistributedDatabaseDef(val dbs: Vector[BasicDatabaseDef], val executionContext: ExecutionContext) extends BasicDatabaseDef

Attributes

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

Attributes

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

Attributes

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

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
Graph
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
Graph
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
Graph
Supertypes
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Known subtypes
class BasicStreamingActionContext(subscriber: Subscriber[_], val useSameThread: Boolean, database: Database) extends BasicActionContext with StreamingActionContext with Subscription

A special DatabaseActionContext for streaming execution.

A special DatabaseActionContext for streaming execution.

Attributes

Inherited from:
BasicBackend
Source:
BasicBackend.scala
Graph
Supertypes
trait Subscription
class Object
trait Matchable
class Any
Known subtypes

Types

The type of the context used for running SynchronousDatabaseActions

The type of the context used for running SynchronousDatabaseActions

Attributes

Source:
DistributedBackend.scala

The type of database objects used by this backend.

The type of database objects used by this backend.

Attributes

Source:
DistributedBackend.scala

The type of the database factory used by this backend.

The type of the database factory used by this backend.

Attributes

Source:
DistributedBackend.scala

The type of session objects used by this backend.

The type of session objects used by this backend.

Attributes

Source:
DistributedBackend.scala

The type of the context used for streaming SynchronousDatabaseActions

The type of the context used for streaming SynchronousDatabaseActions

Attributes

Source:
DistributedBackend.scala

Value members

Concrete 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.

Attributes

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.

Source:
DistributedBackend.scala

Concrete fields

The database factory

The database factory

Attributes

Source:
DistributedBackend.scala

Inherited fields

lazy protected val actionLogger: SlickLogger

Attributes

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

Attributes

Inherited from:
BasicBackend
Source:
BasicBackend.scala