Package akka.persistence
Class Persistence$
- java.lang.Object
-
- akka.persistence.Persistence$
-
- All Implemented Interfaces:
ExtensionId<Persistence>,ExtensionIdProvider
public class Persistence$ extends java.lang.Object implements ExtensionId<Persistence>, ExtensionIdProvider
Persistence extension provider.
-
-
Field Summary
Fields Modifier and Type Field Description static Persistence$MODULE$Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description Persistence$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PersistencecreateExtension(ExtendedActorSystem system)Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.Persistenceget(ActorSystem system)Java API.Persistenceget(ClassicActorSystemProvider system)Returns an instance of the extension identified by this ExtensionId instance.java.lang.StringJournalFallbackConfigPath()Config path to fall-back to if a setting is not defined in a specific plugin's config sectionPersistence$lookup()Returns the canonical ExtensionId for this Extensionjava.lang.StringSnapshotStoreFallbackConfigPath()Config path to fall-back to if a setting is not defined in a specific snapshot plugin's config section-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface akka.actor.ExtensionId
apply, apply, equals, hashCode
-
-
-
-
Field Detail
-
MODULE$
public static final Persistence$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
get
public Persistence get(ActorSystem system)
Java API.- Specified by:
getin interfaceExtensionId<Persistence>
-
get
public Persistence get(ClassicActorSystemProvider system)
Description copied from interface:ExtensionIdReturns an instance of the extension identified by this ExtensionId instance. Java API For extensions written in Scala that are to be used from Java also, this method should be overridden to get correct return type.override def get(system: ClassicActorSystemProvider): TheExtension = super.get(system)- Specified by:
getin interfaceExtensionId<Persistence>
-
createExtension
public Persistence createExtension(ExtendedActorSystem system)
Description copied from interface:ExtensionIdIs used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.- Specified by:
createExtensionin interfaceExtensionId<Persistence>
-
lookup
public Persistence$ lookup()
Description copied from interface:ExtensionIdProviderReturns the canonical ExtensionId for this Extension- Specified by:
lookupin interfaceExtensionIdProvider
-
JournalFallbackConfigPath
public java.lang.String JournalFallbackConfigPath()
Config path to fall-back to if a setting is not defined in a specific plugin's config section
-
SnapshotStoreFallbackConfigPath
public java.lang.String SnapshotStoreFallbackConfigPath()
Config path to fall-back to if a setting is not defined in a specific snapshot plugin's config section
-
-