Package io.camunda.zeebe.snapshots
Interface TransientSnapshot
- All Superinterfaces:
PersistableSnapshot
- All Known Implementing Classes:
FileBasedTransientSnapshot
A transient snapshot which can be persisted after taking a snapshot.
-
Method Summary
Modifier and TypeMethodDescriptionTakes a snapshot on the given path.Methods inherited from interface io.camunda.zeebe.snapshots.PersistableSnapshot
abort, getPath, persist, snapshotId
-
Method Details
-
take
Takes a snapshot on the given path. This can be persisted later via callingPersistableSnapshot.persist(). Based on the implementation this could mean that this is writen before on a temporary folder and then moved to the valid snapshot directory.- Parameters:
takeSnapshot- the predicate which should take the snapshot and should return true on success- Returns:
- true on success, false otherwise
-