Uses of Enum
org.apache.zookeeper.server.ZooKeeperServer.State
Packages that use ZooKeeperServer.State
Package
Description
ZooKeeper server theory of operation
-
Uses of ZooKeeperServer.State in org.apache.zookeeper.server
Fields in org.apache.zookeeper.server declared as ZooKeeperServer.StateMethods in org.apache.zookeeper.server that return ZooKeeperServer.StateModifier and TypeMethodDescriptionstatic ZooKeeperServer.State
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.Methods in org.apache.zookeeper.server with parameters of type ZooKeeperServer.StateModifier and TypeMethodDescriptionvoid
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. -
Uses of ZooKeeperServer.State in org.apache.zookeeper.server.quorum
Methods in org.apache.zookeeper.server.quorum with parameters of type ZooKeeperServer.StateModifier and TypeMethodDescriptionprotected void
QuorumZooKeeperServer.setState
(ZooKeeperServer.State state) protected void
ReadOnlyZooKeeperServer.setState
(ZooKeeperServer.State state)