Package io.camunda.zeebe.snapshots
Interface RestorableSnapshotStore
- All Known Implementing Classes:
FileBasedSnapshotStore
public interface RestorableSnapshotStore
-
Method Summary
Modifier and TypeMethodDescriptionrestore(PersistedSnapshot snapshot) Restore a PersistedSnapshot using the actor context in order to be thread safevoidRestores the snapshot by moving the snapshotFiles to the snapshotDirectory.
-
Method Details
-
restore
Restores the snapshot by moving the snapshotFiles to the snapshotDirectory.WARN. Implementation of this method can be not thread safe.
- Parameters:
snapshotId-snapshotFiles-- Throws:
IOException
-
restore
Restore a PersistedSnapshot using the actor context in order to be thread safe
-