eolivelli commented on a change in pull request #1106: ZOOKEEPER-1416 - 
Persistent, recursive watchers
URL: https://github.com/apache/zookeeper/pull/1106#discussion_r331074564
 
 

 ##########
 File path: zookeeper-server/src/main/java/org/apache/zookeeper/ZooKeeper.java
 ##########
 @@ -3028,6 +3147,104 @@ public void removeAllWatches(String path, WatcherType 
watcherType, boolean local
         removeWatches(ZooDefs.OpCode.removeWatches, path, null, watcherType, 
local, cb, ctx);
     }
 
+    /**
+     * Modes available to {@link ZooKeeper#addWatch(String, Watcher, 
AddWatchMode)}
+     */
+    public enum AddWatchMode {
 
 Review comment:
   What about moving this enum  to the top level (not an inner class) ?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to