Package io.camunda.zeebe.snapshots
Interface ReceivableSnapshotStoreFactory
- All Known Implementing Classes:
FileBasedSnapshotStoreFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Creates a snapshot store which should store its
PersistedSnapshot and ReceivedSnapshot instances in the given directory.-
Method Summary
Modifier and TypeMethodDescriptioncreateReceivableSnapshotStore(Path directory, int partitionId) Creates a snapshot store operating in the givendirectory.
-
Method Details
-
createReceivableSnapshotStore
Creates a snapshot store operating in the givendirectory.- Parameters:
directory- the root directory where snapshots should be storedpartitionId- the id of the partition for this store- Returns:
- a new
PersistedSnapshotStore
-