public class ExchangeCyclicBarrier<T> extends CyclicBarrier implements IExchangeCyclicBarrier<T>
Constructor and Description |
---|
ExchangeCyclicBarrier(int parties) |
ExchangeCyclicBarrier(int parties,
Runnable runnable) |
Modifier and Type | Method and Description |
---|---|
T |
get() |
boolean |
isFailed() |
void |
set(T value) |
void |
setFailed() |
await, await, getNumberWaiting, getParties, isBroken, reset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
await, await
public ExchangeCyclicBarrier(int parties)
public ExchangeCyclicBarrier(int parties, Runnable runnable)
public void set(T value)
set
in interface IExchangeCyclicBarrier<T>
public T get()
get
in interface IExchangeCyclicBarrier<T>
public void setFailed()
setFailed
in interface IExchangeCyclicBarrier<T>
public boolean isFailed()
isFailed
in interface IExchangeCyclicBarrier<T>
Copyright © GigaSpaces.