Package org.apache.pekko.persistence
Class Persistence$
java.lang.Object
org.apache.pekko.persistence.Persistence$
- All Implemented Interfaces:
ExtensionId<Persistence>,ExtensionIdProvider
Persistence extension provider.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Persistence$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateExtension(ExtendedActorSystem system) Is used by Pekko to instantiate the Extension identified by this ExtensionId, internal use only.get(ActorSystem system) Java API.get(ClassicActorSystemProvider system) Returns an instance of the extension identified by this ExtensionId instance.Config path to fall-back to if a setting is not defined in a specific plugin's config sectionlookup()Returns the canonical ExtensionId for this ExtensionConfig path to fall-back to if a setting is not defined in a specific snapshot plugin's config sectionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pekko.actor.ExtensionId
apply, apply, equals, hashCode
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
Persistence$
public Persistence$()
-
-
Method Details
-
get
Java API.- Specified by:
getin interfaceExtensionId<Persistence>
-
get
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
Description copied from interface:ExtensionIdIs used by Pekko to instantiate the Extension identified by this ExtensionId, internal use only.- Specified by:
createExtensionin interfaceExtensionId<Persistence>
-
lookup
Description copied from interface:ExtensionIdProviderReturns the canonical ExtensionId for this Extension- Specified by:
lookupin interfaceExtensionIdProvider
-
JournalFallbackConfigPath
Config path to fall-back to if a setting is not defined in a specific plugin's config section -
SnapshotStoreFallbackConfigPath
Config path to fall-back to if a setting is not defined in a specific snapshot plugin's config section
-