Package akka.persistence
Interface PersistenceIdentity
-
- All Known Subinterfaces:
AbstractPersistentActorLike
,AtLeastOnceDelivery
,AtLeastOnceDeliveryLike
,Eventsourced
,PersistentActor
- All Known Implementing Classes:
AbstractPersistentActor
,AbstractPersistentActorWithAtLeastOnceDelivery
,AbstractPersistentActorWithTimers
,JournalPerfSpec.BenchActor
,PersistentShardCoordinator
public interface PersistenceIdentity
Identification ofPersistentActor
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
journalPluginId()
Configuration id of the journal plugin servicing this persistent actor.java.lang.String
persistenceId()
Id of the persistent entity for which messages should be replayed.java.lang.String
snapshotPluginId()
Configuration id of the snapshot plugin servicing this persistent actor.
-
-
-
Method Detail
-
journalPluginId
java.lang.String journalPluginId()
Configuration id of the journal plugin servicing this persistent actor. When empty, looks inakka.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
java.lang.String persistenceId()
Id of the persistent entity for which messages should be replayed.
-
snapshotPluginId
java.lang.String snapshotPluginId()
Configuration id of the snapshot plugin servicing this persistent actor. When empty, looks inakka.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
.
-
-