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 toSequenceNr)
      Deletes the snapshots up to and including the `sequenceNr`.
      void internalSaveSnapshot​(akka.persistence.typed.internal.Running.RunningState<S> state, scala.Option<java.lang.Object> metadata)  
      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.
      akka.persistence.typed.internal.BehaviorSetup<C,​E,​S> setup()  
    • Method Detail

      • internalDeleteSnapshots

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

        void internalSaveSnapshot​(akka.persistence.typed.internal.Running.RunningState<S> state,
                                  scala.Option<java.lang.Object> metadata)
      • 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

        akka.persistence.typed.internal.BehaviorSetup<C,​E,​S> setup()