curator-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dragonsi...@apache.org
Subject [18/31] curator git commit: doc
Date Tue, 18 Aug 2015 23:18:34 GMT
doc


Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/79d152ca
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/79d152ca
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/79d152ca

Branch: refs/heads/CURATOR-3.0
Commit: 79d152ca42b0a34826369c5620ce7807c668ad63
Parents: 5030c19
Author: randgalt <randgalt@apache.org>
Authored: Tue May 19 16:37:08 2015 -0700
Committer: randgalt <randgalt@apache.org>
Committed: Tue May 19 16:37:08 2015 -0700

----------------------------------------------------------------------
 .../java/org/apache/curator/framework/CuratorFramework.java | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/curator/blob/79d152ca/curator-framework/src/main/java/org/apache/curator/framework/CuratorFramework.java
----------------------------------------------------------------------
diff --git a/curator-framework/src/main/java/org/apache/curator/framework/CuratorFramework.java
b/curator-framework/src/main/java/org/apache/curator/framework/CuratorFramework.java
index 75b434a..f75a5a8 100644
--- a/curator-framework/src/main/java/org/apache/curator/framework/CuratorFramework.java
+++ b/curator-framework/src/main/java/org/apache/curator/framework/CuratorFramework.java
@@ -236,5 +236,12 @@ public interface CuratorFramework extends Closeable
      */
     public void blockUntilConnected() throws InterruptedException;
 
-    WatcherRemoveCuratorFramework newWatcherRemoveCuratorFramework();
+    /**
+     * Returns a facade of the current instance that tracks
+     * watchers created and allows a one-shot removal of all watchers
+     * via {@link WatcherRemoveCuratorFramework#removeWatchers()}
+     *
+     * @return facade
+     */
+    public WatcherRemoveCuratorFramework newWatcherRemoveCuratorFramework();
 }


Mime
View raw message