Skip to content
Permalink
Browse files
improve java doc (#87)
  • Loading branch information
zhoney committed Dec 17, 2021
1 parent fbb743a commit 4a1926fe40e0bc2798ee303419511c5410050bba
Showing 1 changed file with 1 addition and 1 deletion.
@@ -35,7 +35,6 @@ public class BarrierEvent {

/**
* Wait forever until the signal is received.
* @return true if signal is received
* @throws InterruptedException if interrupted.
*/
public void await() throws InterruptedException {
@@ -53,6 +52,7 @@ public void await() throws InterruptedException {
* Wait specified time in milliseconds.
* @param timeout: the time in millisecond to wait.
* @return true if signal is received, false if time out.
* @throws InterruptedException if interrupted.
*/
public boolean await(long timeout) throws InterruptedException {
E.checkArgument(timeout >= 0L,

0 comments on commit 4a1926f

Please sign in to comment.