Class SubTreeCache.WatchGuard

  • All Implemented Interfaces:
    java.lang.AutoCloseable
    Enclosing class:
    SubTreeCache

    public class SubTreeCache.WatchGuard
    extends java.lang.Object
    implements java.lang.AutoCloseable
    A watch guard.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) org.apache.zookeeper.Watcher w  
    • Constructor Summary

      Constructors 
      Constructor Description
      WatchGuard​(org.apache.zookeeper.Watcher w)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      • Methods inherited from class java.lang.Object

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

      • w

        final org.apache.zookeeper.Watcher w
    • Constructor Detail

      • WatchGuard

        WatchGuard​(org.apache.zookeeper.Watcher w)
    • Method Detail

      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable