Package akka.persistence
Interface PersistenceRecovery
-
- All Known Subinterfaces:
AbstractPersistentActorLike,AtLeastOnceDelivery,AtLeastOnceDeliveryLike,Eventsourced,PersistentActor,PersistentFSM<S,D,E>
- All Known Implementing Classes:
AbstractPersistentActor,AbstractPersistentActorWithAtLeastOnceDelivery,AbstractPersistentActorWithTimers,AbstractPersistentFSM,AbstractPersistentLoggingFSM,JournalPerfSpec.BenchActor,PersistentShard,PersistentShardCoordinator,RemoveInternalClusterShardingData.RemoveOnePersistenceId,UntypedPersistentActor,UntypedPersistentActorWithAtLeastOnceDelivery
public interface PersistenceRecoveryCalled when the persistent actor is started for the first time. The returnedRecoveryobject defines how the Actor will recover its persistent state before handling the first incoming message.To skip recovery completely return
Recovery.none.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Recoveryrecovery()Called when the persistent actor is started for the first time.
-