Interface RaftRPC
-
- All Superinterfaces:
ControlMessage,Serializable
- All Known Implementing Classes:
AbstractRaftRPC,AppendEntries,AppendEntriesReply,InstallSnapshot,InstallSnapshotReply,RequestVote,RequestVoteReply
public interface RaftRPC extends Serializable, ControlMessage
Interface implemented by all requests exchanged in the Raft protocol.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetTerm()Return the term in which this call is being made.
-