Randgalt opened a new pull request #1106: ZOOKEEPER-1416
URL: https://github.com/apache/zookeeper/pull/1106
 
 
   Implementation for a persistent, recursive watch addition for ZK. These 
watches are set via a new method, addPersistentWatch() and are removed via the 
existing watcher removal methods. Persistent, recursive watches have these 
characteristics: a) Once set, they do not auto-remove when triggered; b) they 
trigger for all event types (child, data, etc.) on the node they are registered 
for and any child znode recursively; c) they are efficiently implemented by 
using the existing watch internals. A new class PathIterator walks up the path 
parent-by-parent when checking if a watcher applies. Persistent watcher 
specific tests are in PersistentWatcherTest.java.

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