Package io.microraft.model.message
Interface VoteResponse
-
- All Superinterfaces:
RaftMessage,RaftModel,Serializable
public interface VoteResponse extends RaftMessage
Response forVoteRequest.See 5.2 Leader election section of In Search of an Understandable Consensus Algorithm paper by Diego Ongaro and John Ousterhout.
- See Also:
VoteRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceVoteResponse.VoteResponseBuilderThe builder interface forVoteResponse.-
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 booleanisGranted()-
Methods inherited from interface io.microraft.model.message.RaftMessage
getGroupId, getSender, getTerm
-
-