Interface SnapshotInteractions<C,E,S>


public interface SnapshotInteractions<C,E,S>
INTERNAL API
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    internalDeleteSnapshots(long fromSequenceNr, long toSequenceNr)
    Deletes the snapshots up to and including the `sequenceNr`.
    void
    internalSaveSnapshot(org.apache.pekko.persistence.typed.internal.Running.RunningState<S,C> state)
     
    void
    loadSnapshot(SnapshotSelectionCriteria criteria, long toSequenceNr)
    Instructs the snapshot store to load the specified snapshot and send it via an SnapshotOffer to the running PersistentActor.
    org.apache.pekko.persistence.typed.internal.BehaviorSetup<C,E,S>
     
  • Method Details

    • internalDeleteSnapshots

      void internalDeleteSnapshots(long fromSequenceNr, long toSequenceNr)
      Deletes the snapshots up to and including the `sequenceNr`.
    • internalSaveSnapshot

      void internalSaveSnapshot(org.apache.pekko.persistence.typed.internal.Running.RunningState<S,C> state)
    • loadSnapshot

      void loadSnapshot(SnapshotSelectionCriteria criteria, long toSequenceNr)
      Instructs the snapshot store to load the specified snapshot and send it via an SnapshotOffer to the running PersistentActor.
    • setup

      org.apache.pekko.persistence.typed.internal.BehaviorSetup<C,E,S> setup()