Class PeerInfo
java.lang.Object
org.opendaylight.controller.cluster.raft.PeerInfo
Stores information about a raft peer.
- Author:
- Thomas Pantelis
-
Constructor Summary
ConstructorsConstructorDescriptionPeerInfo(String id, String address, VotingState votingState) Constructs an instance. -
Method Summary
Modifier and TypeMethodDescriptiongetId()booleanisVoting()voidsetAddress(String address) voidsetVotingState(VotingState votingState) toString()
-
Constructor Details
-
PeerInfo
Constructs an instance.- Parameters:
id- the id of the peer.address- the address of the peer.votingState- the VotingState of the peer.
-
-
Method Details