public interface StateMachineStorage
| Modifier and Type | Method and Description |
|---|---|
void |
cleanupOldSnapshots(SnapshotRetentionPolicy snapshotRetentionPolicy) |
void |
format() |
SnapshotInfo |
getLatestSnapshot()
Returns the information for the latest durable snapshot.
|
void |
init(RaftStorage raftStorage) |
void init(RaftStorage raftStorage) throws IOException
IOExceptionSnapshotInfo getLatestSnapshot()
void format()
throws IOException
IOExceptionvoid cleanupOldSnapshots(SnapshotRetentionPolicy snapshotRetentionPolicy) throws IOException
IOExceptionCopyright © 2017–2020 The Apache Software Foundation. All rights reserved.