Package | Description |
---|---|
org.apache.zookeeper.server.quorum |
Modifier and Type | Field and Description |
---|---|
QuorumPeer.ServerState |
Vote.state |
Modifier and Type | Method and Description |
---|---|
QuorumPeer.ServerState |
QuorumPeer.getPeerState() |
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(long id,
long zxid,
long epoch,
QuorumPeer.ServerState state) |
Copyright © 2014 The Apache Software Foundation