Class PreVoteRequest
java.lang.Object
org.jgroups.Header
org.jgroups.protocols.raft.RaftHeader
org.jgroups.protocols.raft.election.PreVoteRequest
- All Implemented Interfaces:
org.jgroups.Constructable<org.jgroups.Header>,org.jgroups.util.SizeStreamable,org.jgroups.util.Streamable
Utilized during the pre-voting phase to ask nodes information about their leader.
- Since:
- 1.0.12
- Author:
- José Bolina
-
Field Summary
Fields inherited from class org.jgroups.protocols.raft.RaftHeader
curr_termFields inherited from class org.jgroups.Header
prot_id -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jgroups.protocols.raft.RaftHeader
currTerm, currTerm, readFrom, serializedSize, writeToMethods inherited from class org.jgroups.Header
getProtId, setProtId
-
Constructor Details
-
PreVoteRequest
public PreVoteRequest()
-
-
Method Details
-
getMagicId
public short getMagicId()- Specified by:
getMagicIdin classorg.jgroups.Header
-
create
-
toString
- Overrides:
toStringin classRaftHeader
-