You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@curator.apache.org by ra...@apache.org on 2014/07/24 00:33:51 UTC

[2/3] git commit: Updated per review comments

Updated per review comments

Updated BUILD_INITIAL_CACHE doc to indicate that
the start() method with this mode will cause
a synchronous rebuilding of the cache.

Removed extra line.


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

Branch: refs/heads/master
Commit: c71a5a7aacf64b2a639d7cbdef462dd2c4d50de9
Parents: e2eed55
Author: Patrick Peralta <pp...@gopivotal.com>
Authored: Wed Jul 23 15:06:49 2014 -0400
Committer: Patrick Peralta <pp...@gopivotal.com>
Committed: Wed Jul 23 15:06:49 2014 -0400

----------------------------------------------------------------------
 .../curator/framework/recipes/cache/PathChildrenCache.java     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/curator/blob/c71a5a7a/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/PathChildrenCache.java
----------------------------------------------------------------------
diff --git a/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/PathChildrenCache.java b/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/PathChildrenCache.java
index 18e008b..d555508 100644
--- a/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/PathChildrenCache.java
+++ b/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/PathChildrenCache.java
@@ -260,8 +260,9 @@ public class PathChildrenCache implements Closeable
 
         /**
          * The cache will be primed (in the foreground) with initial values.
-         * {@link PathChildrenCache#rebuild()} will be called before this
-         * method returns in order to get an initial view of the node.
+         * {@link PathChildrenCache#rebuild()} will be called before
+         * the {@link PathChildrenCache#start(StartMode)} method returns
+         * in order to get an initial view of the node.
          */
         BUILD_INITIAL_CACHE,
 
@@ -770,7 +771,6 @@ public class PathChildrenCache implements Closeable
                             {
                                 handleException(e);
                             }
-
                             Thread.currentThread().interrupt();
                         }
                         catch ( Exception e )