java.lang.Object
org.opendaylight.controller.cluster.raft.messages.RaftRPC
org.opendaylight.controller.cluster.raft.messages.RequestVote
All Implemented Interfaces:
Serializable, org.apache.pekko.dispatch.ControlMessage

public final class RequestVote extends RaftRPC
Invoked by candidates to gather votes (ยง5.2).
See Also:
  • Constructor Details

    • RequestVote

      public RequestVote(long term, String candidateId, long lastLogIndex, long lastLogTerm)
  • Method Details

    • getCandidateId

      public String getCandidateId()
    • getLastLogIndex

      public long getLastLogIndex()
    • getLastLogTerm

      public long getLastLogTerm()