Interface SnapshotInteractions<C,E,S>
public interface SnapshotInteractions<C,E,S>
INTERNAL API
-
Method Summary
Modifier and TypeMethodDescriptionvoidinternalDeleteSnapshots(long fromSequenceNr, long toSequenceNr) Deletes the snapshots up to and including the `sequenceNr`.voidinternalSaveSnapshot(org.apache.pekko.persistence.typed.internal.Running.RunningState<S, C> state) voidloadSnapshot(SnapshotSelectionCriteria criteria, long toSequenceNr) Instructs the snapshot store to load the specified snapshot and send it via anSnapshotOfferto the runningPersistentActor.setup()
-
Method Details
-
internalDeleteSnapshots
void internalDeleteSnapshots(long fromSequenceNr, long toSequenceNr) Deletes the snapshots up to and including the `sequenceNr`. -
internalSaveSnapshot
-
loadSnapshot
Instructs the snapshot store to load the specified snapshot and send it via anSnapshotOfferto the runningPersistentActor. -
setup
-