Package | Description |
---|---|
org.apache.zookeeper.server.quorum |
Modifier and Type | Method and Description |
---|---|
QuorumPeer.ServerState |
QuorumPeer.getPeerState() |
QuorumPeer.ServerState |
Vote.getState() |
static QuorumPeer.ServerState |
QuorumPeer.ServerState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QuorumPeer.ServerState[] |
QuorumPeer.ServerState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
QuorumPeer.setPeerState(QuorumPeer.ServerState newState) |
Constructor and Description |
---|
Vote(int version,
long id,
long zxid,
long electionEpoch,
long peerEpoch,
QuorumPeer.ServerState state) |
Vote(long id,
long zxid,
long electionEpoch,
long peerEpoch,
QuorumPeer.ServerState state) |
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.