Package | Description |
---|---|
org.apache.zookeeper.server |
ZooKeeper server theory of operation
|
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 |
---|---|
void |
ZooKeeperServerShutdownHandler.handle(ZooKeeperServer.State state)
This will be invoked when the server transition to a new server state.
|
protected void |
ZooKeeperServer.setState(ZooKeeperServer.State state)
Sets the state of ZooKeeper server.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ReadOnlyZooKeeperServer.setState(ZooKeeperServer.State state) |
protected void |
QuorumZooKeeperServer.setState(ZooKeeperServer.State state) |
Copyright © 2008–2023 The Apache Software Foundation. All rights reserved.