LazySlickDatabase

org.apache.pekko.persistence.postgres.db.LazySlickDatabase
class LazySlickDatabase(config: Config, system: ActorSystem) extends SlickDatabase

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
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def allowShutdown: Boolean

This database shutdown is managed by the db holder, so users of this db do not need to bother shutting it down

This database shutdown is managed by the db holder, so users of this db do not need to bother shutting it down

Attributes

Definition Classes
Source
SlickDatabase.scala

Concrete fields

lazy val database: Database

Attributes

Source
SlickDatabase.scala
val profile: JdbcProfile

Attributes

Source
SlickDatabase.scala