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.StateReturns 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 TypeMethodDescriptionvoidZooKeeperServerShutdownHandler.handle(ZooKeeperServer.State state) This will be invoked when the server transition to a new server state.protected voidZooKeeperServer.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 voidQuorumZooKeeperServer.setState(ZooKeeperServer.State state) protected voidReadOnlyZooKeeperServer.setState(ZooKeeperServer.State state)