Package org.apache.zookeeper.server
Class ZooKeeperServerShutdownHandler
java.lang.Object
org.apache.zookeeper.server.ZooKeeperServerShutdownHandler
ZooKeeper server shutdown handler which will be used to handle ERROR or
SHUTDOWN server state transitions, which in turn releases the associated
shutdown latch.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handle
(ZooKeeperServer.State state) This will be invoked when the server transition to a new server state.
-
Method Details
-
handle
This will be invoked when the server transition to a new server state.- Parameters:
state
- new server state
-