|
|||||||||||
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
Constructor Summary | |
BarrierState()
Constructor |
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 |
boolean |
isLocalyCalled()
Return true if the local barrier call was performed |
void |
setAwaitedCalls(int nbCalls)
Sets the number of calls need to finish the barrier |
void |
tagLocalyCalled()
Set the localy call state to true |
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()
public void tagLocalyCalled()
true
public boolean isLocalyCalled()
true
if the local barrier call was performed
true
if the local barrier call was performed, else return false
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |