Repository: curator Updated Branches: refs/heads/CURATOR-217 79d152ca4 -> 43afca7b9
doc Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/43afca7b Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/43afca7b Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/43afca7b Branch: refs/heads/CURATOR-217 Commit: 43afca7b902bf3d52c33c23924be4ca37c4df23f Parents: 79d152c Author: randgalt <[email protected]> Authored: Tue May 19 16:38:37 2015 -0700 Committer: randgalt <[email protected]> Committed: Tue May 19 16:38:37 2015 -0700 ---------------------------------------------------------------------- .../curator/framework/WatcherRemoveCuratorFramework.java | 6 ++++++ 1 file changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/curator/blob/43afca7b/curator-framework/src/main/java/org/apache/curator/framework/WatcherRemoveCuratorFramework.java ---------------------------------------------------------------------- diff --git a/curator-framework/src/main/java/org/apache/curator/framework/WatcherRemoveCuratorFramework.java b/curator-framework/src/main/java/org/apache/curator/framework/WatcherRemoveCuratorFramework.java index e41b186..871b53c 100644 --- a/curator-framework/src/main/java/org/apache/curator/framework/WatcherRemoveCuratorFramework.java +++ b/curator-framework/src/main/java/org/apache/curator/framework/WatcherRemoveCuratorFramework.java @@ -18,7 +18,13 @@ */ package org.apache.curator.framework; +/** + * A CuratorFramework facade that tracks watchers created and allows a one-shot removal of all watchers + */ public interface WatcherRemoveCuratorFramework extends CuratorFramework { + /** + * Remove all outstanding watchers that have been set + */ void removeWatchers(); }
