Class ExchangeCyclicBarrier<T>
java.lang.Object
java.util.concurrent.CyclicBarrier
com.gigaspaces.internal.utils.concurrent.ExchangeCyclicBarrier<T>
- All Implemented Interfaces:
IExchangeCyclicBarrier<T>
-
Constructor Summary
ConstructorsConstructorDescriptionExchangeCyclicBarrier(int parties) ExchangeCyclicBarrier(int parties, Runnable runnable) -
Method Summary
Methods inherited from class CyclicBarrier
await, await, getNumberWaiting, getParties, isBroken, resetMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IExchangeCyclicBarrier
await, await
-
Constructor Details
-
ExchangeCyclicBarrier
public ExchangeCyclicBarrier(int parties) -
ExchangeCyclicBarrier
-
-
Method Details
-
set
- Specified by:
setin interfaceIExchangeCyclicBarrier<T>
-
get
- Specified by:
getin interfaceIExchangeCyclicBarrier<T>
-
setFailed
public void setFailed()- Specified by:
setFailedin interfaceIExchangeCyclicBarrier<T>
-
isFailed
public boolean isFailed()- Specified by:
isFailedin interfaceIExchangeCyclicBarrier<T>
-