Uses of Class
org.apache.zookeeper.server.ZooKeeperServer.State
-
Packages that use ZooKeeperServer.State Package Description org.apache.zookeeper.server ZooKeeper server theory of operationorg.apache.zookeeper.server.quorum -
-
Uses of ZooKeeperServer.State in org.apache.zookeeper.server
Fields in org.apache.zookeeper.server declared as ZooKeeperServer.State Modifier and Type Field Description protected ZooKeeperServer.StateZooKeeperServer. stateMethods in org.apache.zookeeper.server that return ZooKeeperServer.State Modifier and Type Method Description static ZooKeeperServer.StateZooKeeperServer.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.Methods in org.apache.zookeeper.server with parameters of type ZooKeeperServer.State Modifier and Type Method Description voidZooKeeperServerShutdownHandler. 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.State Modifier and Type Method Description protected voidQuorumZooKeeperServer. setState(ZooKeeperServer.State state)protected voidReadOnlyZooKeeperServer. setState(ZooKeeperServer.State state)
-