public class SnapshotManager extends Object
| Constructor and Description |
|---|
SnapshotManager(RaftStorage storage,
RaftPeerId selfId) |
| Modifier and Type | Method and Description |
|---|---|
void |
installSnapshot(StateMachine stateMachine,
org.apache.ratis.proto.RaftProtos.InstallSnapshotRequestProto request) |
public SnapshotManager(RaftStorage storage, RaftPeerId selfId) throws IOException
IOExceptionpublic void installSnapshot(StateMachine stateMachine, org.apache.ratis.proto.RaftProtos.InstallSnapshotRequestProto request) throws IOException
IOExceptionCopyright © 2017–2021 The Apache Software Foundation. All rights reserved.