Class UpdateElectionTerm
- java.lang.Object
-
- org.opendaylight.controller.cluster.raft.persisted.UpdateElectionTerm
-
- All Implemented Interfaces:
Serializable
public class UpdateElectionTerm extends Object implements Serializable
Message class to persist election term information.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UpdateElectionTerm(long currentTerm, String votedFor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getCurrentTerm()
String
getVotedFor()
String
toString()
-