Interface PersistedSnapshotListener

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface PersistedSnapshotListener
Represents a listener which can be added to the PersistedSnapshotStore to be notified when a new PersistedSnapshot is persisted at this store.
  • Method Details

    • onNewSnapshot

      void onNewSnapshot(PersistedSnapshot newPersistedSnapshot)
      Is called when a new PersistedSnapshot was persisted.
      Parameters:
      newPersistedSnapshot - the new persisted snapshots