a Future that completes once the barrier is set
a Future of next that only evaluates after the barrier is set
TRUE if the barrier is set
register a callback that is triggered after the barrier is set. If the barrier is already set then f is executed immediately
Set the latch
Set the latch
java.lang.IllegalArgumentException
if latch has already been set
Loop until set
Loop until set
Try to set the latch
Try to set the latch
TRUE if the latch is now set FALSE if the latch has already been set
A trait for a latch that can be set once to synchronize events that are waiting on the barrier.