Package io.camunda.zeebe.snapshots
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.
Represents a listener which can be added to the
PersistedSnapshotStore to be notified
when a new PersistedSnapshot is persisted at this store.-
Method Summary
Modifier and TypeMethodDescriptionvoidonNewSnapshot(PersistedSnapshot newPersistedSnapshot) Is called when a newPersistedSnapshotwas persisted.
-
Method Details
-
onNewSnapshot
Is called when a newPersistedSnapshotwas persisted.- Parameters:
newPersistedSnapshot- the new persisted snapshots
-