Package org.apache.pekko.persistence
Interface PersistenceIdentity
- All Known Subinterfaces:
AbstractPersistentActorLike
,AtLeastOnceDelivery
,AtLeastOnceDeliveryLike
,Eventsourced
,PersistentActor
,PersistentFSM<S,
D, E>
- All Known Implementing Classes:
AbstractPersistentActor
,AbstractPersistentActorWithAtLeastOnceDelivery
,AbstractPersistentActorWithTimers
,AbstractPersistentFSM
,AbstractPersistentLoggingFSM
,JournalPerfSpec.BenchActor
,PersistentShardCoordinator
public interface PersistenceIdentity
Identification of
PersistentActor
.-
Method Summary
Modifier and TypeMethodDescriptionConfiguration id of the journal plugin servicing this persistent actor.Id of the persistent entity for which messages should be replayed.Configuration id of the snapshot plugin servicing this persistent actor.
-
Method Details
-
journalPluginId
String journalPluginId()Configuration id of the journal plugin servicing this persistent actor. When empty, looks inpekko.persistence.journal.plugin
to find configuration entry path. When configured, usesjournalPluginId
as absolute path to the journal configuration entry. Configuration entry must contain few required fields, such asclass
. Seesrc/main/resources/reference.conf
. -
persistenceId
String persistenceId()Id of the persistent entity for which messages should be replayed. -
snapshotPluginId
String snapshotPluginId()Configuration id of the snapshot plugin servicing this persistent actor. When empty, looks inpekko.persistence.snapshot-store.plugin
to find configuration entry path. When configured, usessnapshotPluginId
as absolute path to the snapshot store configuration entry. Configuration entry must contain few required fields, such asclass
. Seesrc/main/resources/reference.conf
.
-