Package org.apache.pekko.persistence
package org.apache.pekko.persistence
-
ClassDescriptionJava API: an persistent actor - can be used to implement command or Event Sourcing.INTERNAL APIJava API: compatible with lambda expressionsJava API: Combination of
AbstractPersistentActor
andpekko.actor.AbstractActorWithTimers
.Scala API: Mix-in this trait with yourPersistentActor
to send messages with at-least-once delivery semantics to destinations.Snapshot of currentAtLeastOnceDelivery
state.INTERNAL APIInformation about a message that has not been confirmed.Reply message to a failedJournalProtocol.DeleteMessagesTo
request.Reply message to a successfulJournalProtocol.DeleteMessagesTo
request.Sent to aPersistentActor
after failed deletion of a snapshot.Sent to aPersistentActor
after failed deletion of a range of snapshots.Sent to aPersistentActor
after successful deletion of specified range of snapshots.Sent to aPersistentActor
after successful deletion of a snapshot.Discard the message topekko.actor.DeadLetter
.Discard the message topekko.actor.DeadLetter
.INTERNAL API.INTERNAL API: does not force the actor to stash commands; Originates from either `persistAsync` or `defer` callsINTERNAL APIINTERNAL API: message used to detect that recovery timed outINTERNAL API: forces actor to stash incoming commands until all these invocations are handledINTERNAL APIINTERNAL API.Request to delete all persistent messages with sequence numbers up totoSequenceNr
(inclusive).Reply message to aJournalProtocol.WriteMessages
with a non-persistent message.Marker trait shared by internal journal messages.Reply message to a successfulJournalProtocol.ReplayMessages
request.Reply message to aJournalProtocol.ReplayMessages
request.Request to replay messages topersistentActor
.Reply message to a failedJournalProtocol.ReplayMessages
request.Internal journal command.Internal journal acknowledgement.Reply message to a failedJournalProtocol.WriteMessages
request.Reply message to a rejectedJournalProtocol.WriteMessages
request.Request to write messages.Reply message to a failedJournalProtocol.WriteMessages
request.Reply message to a successfulJournalProtocol.WriteMessages
request.Reply message to a successfulJournalProtocol.WriteMessages
request.INTERNAL API.Persistence extension.Persistence extension provider.Identification ofPersistentActor
.INTERNAL APIPersistence configuration.Scala API: A persistent Actor - can be used to implement command or Event Sourcing.INTERNAL APIPlugin API: representation of a persistent message in the journal plugin API.PluginProvider<T,ScalaDsl, JavaDsl> INTERNAL APIINTERNAL API.INTERNAL API.INTERNAL API.Recovery mode configuration object to be returned inPersistenceRecovery.recovery()
.Sent to aPersistentActor
when the journal replay has been finished.INTERNAL APIReply to sender with predefined response, and discard the received message silently.Sent to aPersistentActor
after failed saving of a snapshot.Sent to aPersistentActor
after successful saving of a snapshot.Plugin API: a selected snapshot matchingSnapshotSelectionCriteria
.Snapshot metadata.Offers aPersistentActor
a previously savedsnapshot
during recovery.INTERNAL API.Instructs snapshot store to delete a snapshot.Instructs snapshot store to delete all snapshots that matchcriteria
.Instructs a snapshot store to load a snapshot.Reply message to a failedSnapshotProtocol.LoadSnapshot
request.Response message to aSnapshotProtocol.LoadSnapshot
message.Marker trait shared by internal snapshot messages.Internal snapshot command.Internal snapshot acknowledgement.Instructs snapshot store to save a snapshot.INTERNAL API.Selection criteria for loading and deleting snapshots.Snapshot API on top of the internal snapshot protocol.This defines how to handle the current received message which failed to stash, when the size of Stash exceeding the capacity of Stash.Implement this interface in order to configure the stashOverflowStrategy for the internal stash of persistent actor.Throwpekko.actor.StashOverflowException
, hence the persistent actor will starting recovery if guarded by default supervisor strategy.Throwpekko.actor.StashOverflowException
, hence the persistent actor will starting recovery if guarded by default supervisor strategy.INTERNAL APIINTERNAL API