Uses of Enum Class
org.opendaylight.controller.cluster.raft.VotingState
Packages that use VotingState
-
Uses of VotingState in org.opendaylight.controller.cluster.raft
Methods in org.opendaylight.controller.cluster.raft that return VotingStateModifier and TypeMethodDescriptionPeerInfo.getVotingState()
static VotingState
Returns the enum constant of this class with the specified name.static VotingState[]
VotingState.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.opendaylight.controller.cluster.raft with parameters of type VotingStateModifier and TypeMethodDescriptionvoid
RaftActorContext.addToPeers
(String peerId, @Nullable 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 VotingStateModifierConstructorDescriptionPeerInfo
(String id, @Nullable String address, VotingState votingState) Constructs an instance.