org.apache.pekko.persistence.jdbc.db

Members list

Type members

Classlikes

class DefaultSlickDatabaseProvider(system: ActorSystem) extends SlickDatabaseProvider

Attributes

Source
SlickExtension.scala
Supertypes
class Object
trait Matchable
class Any
case class EagerSlickDatabase(database: Database, profile: JdbcProfile) extends SlickDatabase

Attributes

Source
SlickDatabase.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class LazySlickDatabase(config: Config, system: ActorSystem) extends SlickDatabase

A LazySlickDatabase lazily initializes a database, it also manages the shutdown of the database

A LazySlickDatabase lazily initializes a database, it also manages the shutdown of the database

Value parameters

config

The configuration used to create the database

Attributes

Source
SlickDatabase.scala
Supertypes
class Object
trait Matchable
class Any
object SlickDatabase

INTERNAL API

INTERNAL API

Attributes

Companion
trait
Source
SlickDatabase.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Source
SlickDatabase.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

User overridable database provider. Since this provider is called from an Apache Pekko extension it must be thread safe!

User overridable database provider. Since this provider is called from an Apache Pekko extension it must be thread safe!

A SlickDatabaseProvider is loaded using reflection, The instance is created using the following:

  • The fully qualified class name as configured in jdbc-journal.database-provider-fqcn.
  • The constructor with one argument of type pekko.actor.ActorSystem is used to create the instance. Therefore the class must have such a constructor.

Attributes

Source
SlickExtension.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object SlickExtension extends ExtensionId[SlickExtensionImpl], ExtensionIdProvider

Attributes

Source
SlickExtension.scala
Supertypes
trait ExtensionIdProvider
trait ExtensionId[SlickExtensionImpl]
class Object
trait Matchable
class Any
Self type
class SlickExtensionImpl(system: ExtendedActorSystem) extends Extension

Attributes

Source
SlickExtension.scala
Supertypes
trait Extension
class Object
trait Matchable
class Any

Deprecated classlikes

object SlickDriver

INTERNAL API

INTERNAL API

Attributes

Deprecated
[Since version akka-persistence-jdbc 3.4.0] Internal API, will be removed in pekko-persistence-jdbc 2.0.0
Source
SlickDatabase.scala
Supertypes
class Object
trait Matchable
class Any
Self type