Class RequestVote
- java.lang.Object
-
- org.opendaylight.controller.cluster.raft.messages.AbstractRaftRPC
-
- org.opendaylight.controller.cluster.raft.messages.RequestVote
-
- All Implemented Interfaces:
akka.dispatch.ControlMessage
,Serializable
,RaftRPC
public final class RequestVote extends AbstractRaftRPC
Invoked by candidates to gather votes (ยง5.2).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RequestVote(long term, String candidateId, long lastLogIndex, long lastLogTerm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCandidateId()
long
getLastLogIndex()
long
getLastLogTerm()
String
toString()
-
Methods inherited from class org.opendaylight.controller.cluster.raft.messages.AbstractRaftRPC
getTerm
-
-
-
-
Constructor Detail
-
RequestVote
public RequestVote(long term, String candidateId, long lastLogIndex, long lastLogTerm)
-
-