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 Type
    Method
    Description
    Configuration 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 in pekko.persistence.journal.plugin to find configuration entry path. When configured, uses journalPluginId as absolute path to the journal configuration entry. Configuration entry must contain few required fields, such as class. See src/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 in pekko.persistence.snapshot-store.plugin to find configuration entry path. When configured, uses snapshotPluginId as absolute path to the snapshot store configuration entry. Configuration entry must contain few required fields, such as class. See src/main/resources/reference.conf.