You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by GitBox <gi...@apache.org> on 2022/10/17 12:56:15 UTC

[GitHub] [curator] tisonkun commented on a diff in pull request #435: CURATOR-654: Remove watcher after waiting on barrier.

tisonkun commented on code in PR #435:
URL: https://github.com/apache/curator/pull/435#discussion_r997017352


##########
curator-recipes/src/main/java/org/apache/curator/framework/recipes/barriers/DistributedBarrier.java:
##########
@@ -92,6 +93,16 @@ public synchronized void      removeBarrier() throws Exception
         }
     }
 
+    /**
+     * Indicates if the barrier is set or not.
+     *
+     * @return true if the barrier is set.
+     */
+    public synchronized boolean     isSet() throws Exception

Review Comment:
   Annotated with `@VisibleForTesting`.



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

To unsubscribe, e-mail: dev-unsubscribe@curator.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org