Uses of Class
org.opendaylight.controller.cluster.raft.VotingState
-
Packages that use VotingState Package Description org.opendaylight.controller.cluster.raft -
-
Uses of VotingState in org.opendaylight.controller.cluster.raft
Methods in org.opendaylight.controller.cluster.raft that return VotingState Modifier and Type Method Description VotingState
PeerInfo. getVotingState()
static VotingState
VotingState. valueOf(String name)
Returns the enum constant of this type with the specified name.static VotingState[]
VotingState. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.opendaylight.controller.cluster.raft with parameters of type VotingState Modifier and Type Method Description void
RaftActorContext. addToPeers(String id, String address, VotingState votingState)
Adds a new peer.void
RaftActorContextImpl. addToPeers(String peerId, String address, VotingState votingState)
void
PeerInfo. setVotingState(VotingState votingState)
Constructors in org.opendaylight.controller.cluster.raft with parameters of type VotingState Constructor Description PeerInfo(String id, String address, VotingState votingState)
Constructs an instance.
-