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 PersistenceRecovery
Called when the persistent actor is started for the first time. The returnedRecovery
object 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 Recovery
recovery()
Called when the persistent actor is started for the first time.
-