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

org.apache.zookeeper.server

## Interface ZooKeeperServerListener

-     public interface ZooKeeperServerListener

  Listener for the critical resource events.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `notifyStopping(String threadName, int errorCode)` This will notify the server that some critical thread has stopped.

- - ### Method Detail

    - #### notifyStopping

          void notifyStopping(String threadName,
                              int errorCode)

      This will notify the server that some critical thread has stopped. It usually takes place when fatal error occurred.
      Parameters:
        `threadName` - - name of the thread
        `errorCode` - - error code

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