Package com.yahoo.concurrent
Interface EventBarrier.BarrierWaiter
-
- Enclosing class:
- EventBarrier
public static interface EventBarrier.BarrierWaiter
Declares the interface required to wait for the detection of a minimal event barrier. An object that implements this is passed to theEventBarrier.startBarrier(BarrierWaiter)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
completeBarrier()
Callback invoked by the thread that detected the minimal event barrier.
-
-
-
Method Detail
-
completeBarrier
void completeBarrier()
Callback invoked by the thread that detected the minimal event barrier. Once this is called, all events taking place at or before the corresponding call toEventBarrier.startBarrier(BarrierWaiter)
have ended.
-
-