org.apache.pekko.persistence.jdbc.db
Members list
Type members
Classlikes
class DefaultSlickDatabaseProvider(system: ActorSystem) extends SlickDatabaseProvider
Attributes
- Source
- SlickExtension.scala
- Supertypes
case class EagerSlickDatabase(database: Database, profile: JdbcProfile) extends SlickDatabase
Attributes
- Source
- SlickDatabase.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SlickDatabaseclass Objecttrait Matchableclass AnyShow 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
object SlickDatabase
INTERNAL API
INTERNAL API
Attributes
- Companion
- trait
- Source
- SlickDatabase.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SlickDatabase.type
trait SlickDatabase
Attributes
- Companion
- object
- Source
- SlickDatabase.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class EagerSlickDatabaseclass LazySlickDatabase
trait SlickDatabaseProvider
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 Objecttrait Matchableclass Any
- Known subtypes
object SlickExtension extends ExtensionId[SlickExtensionImpl], ExtensionIdProvider
Attributes
- Source
- SlickExtension.scala
- Supertypes
-
trait ExtensionIdProvidertrait ExtensionId[SlickExtensionImpl]class Objecttrait Matchableclass Any
- Self type
-
SlickExtension.type
class SlickExtensionImpl(system: ExtendedActorSystem) extends Extension
Attributes
- Source
- SlickExtension.scala
- Supertypes
-
trait Extensionclass Objecttrait Matchableclass 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 Objecttrait Matchableclass Any
- Self type
-
SlickDriver.type
In this article