This is the only class that implements {@link org.apache.zookeeper.Watcher}. Other internal classes which need to be notified of ZooKeeper events must register with the local instance of this watcher via {@link #registerListener}.
This class also holds and manages the connection to ZooKeeper. Code to deal with connection related events and exceptions are handled here.
This is the only class that implements {@link Watcher}. Other internal classes which need to be notified of ZooKeeper events must register with the local instance of this watcher via {@link #registerListener}.
This class also holds and manages the connection to ZooKeeper. Code to deal with connection related events and exceptions are handled here.
|
|
|
|