java.lang.Object
java.util.concurrent.CyclicBarrier
- See Also:
- Source Code,
BrokenBarrierException
, await()
, Runnable
, CountDownLatch
public int await()
throws InterruptedException,
BrokenBarrierException
- See Also:
-
getParties()
, interrupted
, is broken
, reset()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int await(long timeout,
TimeUnit unit)
throws InterruptedException,
BrokenBarrierException,
TimeoutException
- See Also:
-
getParties()
, interrupted
, is broken
, reset()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public CyclicBarrier(int parties)
- See Also:
- IllegalArgumentException,
await()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public CyclicBarrier(int parties,
Runnable barrierAction)
- See Also:
- IllegalArgumentException,
await()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int getNumberWaiting()
- See Also:
await()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int getParties()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean isBroken()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void reset()
- See Also:
BrokenBarrierException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples