Package | Description |
---|---|
org.apache.zookeeper.server |
ZooKeeper server theory of operation
ZooKeeperServer is designed to work in standalone mode and also
be extensible so that it can be used to implement the quorum based
version of ZooKeeper.
|
org.apache.zookeeper.server.quorum |
Modifier and Type | Field and Description |
---|---|
protected ZooKeeperServer.State |
ZooKeeperServer.state |
Modifier and Type | Method and Description |
---|---|
static ZooKeeperServer.State |
ZooKeeperServer.State.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZooKeeperServer.State[] |
ZooKeeperServer.State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ZooKeeperServer.setState(ZooKeeperServer.State state)
Sets the state of ZooKeeper server.
|
Modifier and Type | Method and Description |
---|---|
protected void |
QuorumZooKeeperServer.setState(ZooKeeperServer.State state) |
protected void |
ReadOnlyZooKeeperServer.setState(ZooKeeperServer.State state) |
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.