Package akka.persistence.typed.internal
Interface SnapshotInteractions<C,E,S>
-
- All Known Implementing Classes:
ReplayingEvents
,ReplayingSnapshot
,RequestingRecoveryPermit
,Running
public interface SnapshotInteractions<C,E,S>
Instructs the snapshot store to load the specified snapshot and send it via anSnapshotOffer
to the runningPersistentActor
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
internalDeleteSnapshots(long fromSequenceNr, long toSequenceNr)
Deletes the snapshots up to and including the `sequenceNr`.void
internalSaveSnapshot(Running.RunningState<S> state)
void
loadSnapshot(SnapshotSelectionCriteria criteria, long toSequenceNr)
Instructs the snapshot store to load the specified snapshot and send it via anSnapshotOffer
to the runningPersistentActor
.BehaviorSetup<C,E,S>
setup()
-
-
-
Method Detail
-
internalDeleteSnapshots
void internalDeleteSnapshots(long fromSequenceNr, long toSequenceNr)
Deletes the snapshots up to and including the `sequenceNr`.
-
internalSaveSnapshot
void internalSaveSnapshot(Running.RunningState<S> state)
-
loadSnapshot
void loadSnapshot(SnapshotSelectionCriteria criteria, long toSequenceNr)
Instructs the snapshot store to load the specified snapshot and send it via anSnapshotOffer
to the runningPersistentActor
.- Parameters:
criteria
- (undocumented)toSequenceNr
- (undocumented)
-
setup
BehaviorSetup<C,E,S> setup()
-
-