Package io.microraft.model.message
Interface InstallSnapshotResponse
-
- All Superinterfaces:
RaftMessage
,RaftModel
,Serializable
public interface InstallSnapshotResponse extends RaftMessage
Response forInstallSnapshotRequest
.See 7 Log compaction section of In Search of an Understandable Consensus Algorithm paper by Diego Ongaro and John Ousterhout.
A follower can request the missing snapshot chunks in any order from the leader.
- See Also:
InstallSnapshotRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
InstallSnapshotResponse.InstallSnapshotResponseBuilder
The builder interface forInstallSnapshotResponse
.-
Nested classes/interfaces inherited from interface io.microraft.model.message.RaftMessage
RaftMessage.RaftMessageBuilder<T extends RaftMessage>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getFlowControlSequenceNumber()
long
getQuerySequenceNumber()
int
getRequestedSnapshotChunkIndex()
long
getSnapshotIndex()
-
Methods inherited from interface io.microraft.model.message.RaftMessage
getGroupId, getSender, getTerm
-
-