Interface SnapshotInteractions<C,​E,​S>


  • public interface SnapshotInteractions<C,​E,​S>
    INTERNAL API
    • 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​(org.apache.pekko.persistence.typed.internal.Running.RunningState<S> 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> setup()  
    • Method Detail

      • 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> 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()