Packages

object PersistenceInit

Test utility to initialize persistence plugins. Useful when initialization order or coordination is needed. For example to avoid creating tables concurrently.

Source
PersistenceInit.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PersistenceInit
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def initializeDefaultPlugins(system: ClassicActorSystemProvider, timeout: FiniteDuration): Future[Done]

    Initialize the default journal and snapshot plugins.

    Initialize the default journal and snapshot plugins.

    returns

    a Future that is completed when the initialization has completed

  2. def initializePlugins(system: ClassicActorSystemProvider, journalPluginId: String, snapshotPluginId: String, timeout: FiniteDuration): Future[Done]

    Initialize the given journal and snapshot plugins.

    Initialize the given journal and snapshot plugins.

    The snapshotPluginId can be empty ("") if snapshot plugin isn't used.

    returns

    a Future that is completed when the initialization has completed