java.lang.Object
org.opendaylight.controller.cluster.raft.persisted.UpdateElectionTerm
- All Implemented Interfaces:
Serializable
Message class to persist election term information.
- See Also:
-
-
Constructor Summary
Constructors
-
Method Summary
-
Constructor Details
-
UpdateElectionTerm
public UpdateElectionTerm(long currentTerm,
String votedFor)
-
Method Details
-
getCurrentTerm
public final long getCurrentTerm()
-
getVotedFor
public final String getVotedFor()
-
writeReplace
public final Object writeReplace()
-