Package org.apache.zookeeper
Interface Watcher
- 
- All Known Subinterfaces:
- ServerWatcher
 - All Known Implementing Classes:
- ControllableConnection,- DumbWatcher,- NettyServerCnxn,- NIOServerCnxn,- ServerCnxn
 
 @Public public interface WatcherThis interface specifies the public interface an event handler class must implement. A ZooKeeper client will get various events from the ZooKeeper server it connects to. An application using such a client handles these events by registering a callback object with the client. The callback object is expected to be an instance of a class that implements Watcher interface.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static interfaceWatcher.EventThis interface defines the possible states an Event may representstatic classWatcher.WatcherTypeEnumeration of types of watchers
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprocess(WatchedEvent event)
 
- 
- 
- 
Method Detail- 
processvoid process(WatchedEvent event) 
 
- 
 
-