Author: michim
Date: Thu Apr 3 23:13:29 2014
New Revision: 1584459
URL: http://svn.apache.org/r1584459
Log:
ZOOKEEPER-1831. Document remove watches details to the guide (Rakesh R via michim)
Modified:
zookeeper/trunk/CHANGES.txt
zookeeper/trunk/src/docs/src/documentation/content/xdocs/zookeeperProgrammers.xml
Modified: zookeeper/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/zookeeper/trunk/CHANGES.txt?rev=1584459&r1=1584458&r2=1584459&view=diff
==============================================================================
--- zookeeper/trunk/CHANGES.txt (original)
+++ zookeeper/trunk/CHANGES.txt Thu Apr 3 23:13:29 2014
@@ -844,6 +844,9 @@ IMPROVEMENTS:
ZOOKEEPER-1730. Make ZooKeeper easier to test - support simulating a session
expiration (Jordan Zimmerman via michim)
+ ZOOKEEPER-1831. Document remove watches details to the guide (Rakesh R via
+ michim)
+
headers
Release 3.4.0 -
Modified: zookeeper/trunk/src/docs/src/documentation/content/xdocs/zookeeperProgrammers.xml
URL: http://svn.apache.org/viewvc/zookeeper/trunk/src/docs/src/documentation/content/xdocs/zookeeperProgrammers.xml?rev=1584459&r1=1584458&r2=1584459&view=diff
==============================================================================
--- zookeeper/trunk/src/docs/src/documentation/content/xdocs/zookeeperProgrammers.xml (original)
+++ zookeeper/trunk/src/docs/src/documentation/content/xdocs/zookeeperProgrammers.xml Thu
Apr 3 23:13:29 2014
@@ -677,7 +677,28 @@
</listitem>
</itemizedlist>
</section>
-
+
+ <section id="sc_WatchRemoval">
+ <title>Remove Watches</title>
+ <para>We can remove the watches registered on a znode with a call to
+ removeWatches. Also, a ZooKeeper client can remove watches locally even
+ if there is no server connection by setting the local flag to true. The
+ following list details the events which will be triggered after the
+ successful watch removal.
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para><emphasis role="bold">Child Remove event:</emphasis></para>
+ <para>Watcher which was added with a call to getChildren.</para>
+ </listitem>
+
+ <listitem>
+ <para><emphasis role="bold">Data Remove event:</emphasis></para>
+ <para>Watcher which was added with a call to exists or getData.</para>
+ </listitem>
+ </itemizedlist>
+ </section>
+
<section id="sc_WatchGuarantees">
<title>What ZooKeeper Guarantees about Watches</title>
|