ZooKeeperServerShutdownHandler (Apache ZooKeeper - Server 3.7.0 API)
Date: 2021-03-17

org.apache.zookeeper.server

## Class ZooKeeperServerShutdownHandler

- java.lang.Object
- - org.apache.zookeeper.server.ZooKeeperServerShutdownHandler

-     public final class ZooKeeperServerShutdownHandler
      extends Object

  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

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `handle(ZooKeeperServer.State state)` This will be invoked when the server transition to a new server state.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### handle

          public void handle(ZooKeeperServer.State state)

      This will be invoked when the server transition to a new server state.
      Parameters:
        `state` - new server state

Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.