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

 ##########
 File path: zookeeper-docs/src/main/resources/markdown/zookeeperProgrammers.md
 ##########
 @@ -575,6 +581,21 @@ the events that a watch can trigger and the calls that 
enable them:
 * **Child event:**
   Enabled with a call to getChildren.
 
+<a name="sc_WatchPersistentRecursive"></a>
+
+### Persistent, Recursive Watches
+
+**New in 3.6.0:** There is now a variation on the standard
+watch described above whereby you can set a watch that does not get removed 
when triggered.
+Additionally, these watches trigger the event types *NodeCreated*, 
*NodeDeleted*, and *NodeDataChanged* 
+and, optionally, recursively for all znodes starting at the znode that the 
watch is registered for. Note 
+that *NodeChildrenChanged* events are not triggered for persistent recursive 
watches as it would be redundant.
 
 Review comment:
   Looks reasonable

----------------------------------------------------------------
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