|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.core.group.spmd.BarrierState
This class describes the state of a barrier.
Constructor Summary | |
BarrierState()
|
Method Summary | |
int |
getAwaitedCalls()
Returns the number of awaited calls to finish the barrier |
int |
getReceivedCalls()
Returns the number of received calls to finish the barrier |
void |
incrementReceivedCalls()
Increments the number of received calls to finish the barrier |
void |
setAwaitedCalls(int nbCalls)
Sets the number of calls need to finish the barrier |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BarrierState()
Method Detail |
public int getAwaitedCalls()
public int getReceivedCalls()
public void setAwaitedCalls(int nbCalls)
nbCalls
- the number of calls need to finish the barrierpublic void incrementReceivedCalls()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |