Package org.apache.zookeeper.server
Interface ZooKeeperServerListener
-
public interface ZooKeeperServerListenerListener for the critical resource events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidnotifyStopping(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 threaderrorCode- - error code
-
-