Class WatchDeregistration


  • public class WatchDeregistration
    extends java.lang.Object
    Handles the special case of removing watches which has registered for a client path
    • Constructor Summary

      Constructors 
      Constructor Description
      WatchDeregistration​(java.lang.String clientPath, Watcher watcher, Watcher.WatcherType watcherType, boolean local, org.apache.zookeeper.ZKWatchManager zkManager)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getClientPath()
      Returns client path which has specified for unregistering its watcher
      java.util.Map<Watcher.Event.EventType,​java.util.Set<Watcher>> unregister​(int rc)
      Unregistering watcher that was added on path.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WatchDeregistration

        public WatchDeregistration​(java.lang.String clientPath,
                                   Watcher watcher,
                                   Watcher.WatcherType watcherType,
                                   boolean local,
                                   org.apache.zookeeper.ZKWatchManager zkManager)
    • Method Detail

      • getClientPath

        public java.lang.String getClientPath()
        Returns client path which has specified for unregistering its watcher
        Returns:
        client path