class Persistence extends Extension
- Alphabetic
- By Inheritance
- Persistence
- Extension
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Persistence(system: ExtendedActorSystem)
Value Members
-
final
def
adaptersFor(journalPluginId: String, journalPluginConfig: Config): EventAdapters
Returns an akka.persistence.journal.EventAdapters object which serves as a per-journal collection of bound event adapters.
Returns an akka.persistence.journal.EventAdapters object which serves as a per-journal collection of bound event adapters. If no adapters are registered for a given journal the EventAdapters object will simply return the identity adapter for each class, otherwise the most specific adapter matching a given class will be returned.
The provided journalPluginConfig will be used to configure the plugin instead of the actor system config.
-
final
def
adaptersFor(journalPluginId: String): EventAdapters
Returns an akka.persistence.journal.EventAdapters object which serves as a per-journal collection of bound event adapters.
Returns an akka.persistence.journal.EventAdapters object which serves as a per-journal collection of bound event adapters. If no adapters are registered for a given journal the EventAdapters object will simply return the identity adapter for each class, otherwise the most specific adapter matching a given class will be returned.
- lazy val defaultInternalStashOverflowStrategy: StashOverflowStrategy
-
def
persistenceId(persistentActor: ActorRef): String
Creates a canonical persistent actor id from a persistent actor ref.
- val settings: PersistenceSettings
- val system: ExtendedActorSystem