Interface Snapshotter

    • Method Detail

      • loadSnapshot

        void loadSnapshot​(java.lang.String persistenceId,
                          SnapshotSelectionCriteria criteria,
                          long toSequenceNr)
        Instructs the snapshot store to load the specified snapshot and send it via an SnapshotOffer to the running PersistentActor.
        Parameters:
        persistenceId - (undocumented)
        criteria - (undocumented)
        toSequenceNr - (undocumented)
      • saveSnapshot

        void saveSnapshot​(java.lang.Object snapshot)
        Saves a snapshot of this snapshotter's state.

        The PersistentActor will be notified about the success or failure of this via an SaveSnapshotSuccess or SaveSnapshotFailure message.

        Parameters:
        snapshot - (undocumented)
      • snapshotSequenceNr

        long snapshotSequenceNr()
        Sequence number to use when taking a snapshot.
        Returns:
        (undocumented)
      • snapshotStore

        ActorRef snapshotStore()
        Snapshot store plugin actor.
      • snapshotterId

        java.lang.String snapshotterId()
        Snapshotter id.
        Returns:
        (undocumented)