|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.core.group.spmd.ProActiveSPMDGroupManager
Constructor Summary | |
ProActiveSPMDGroupManager()
|
Method Summary | |
void |
addToBarrierTags(java.lang.String barrierID)
Adds the barrier ID into the list of barrier ID used to tag messages. |
void |
addToCurrentBarriers(java.lang.String barrierName,
BarrierState bs)
Set a BarrierState for the specified barrier |
boolean |
checkExecution(java.util.LinkedList barrierTags)
Check if the tags given in parameter contains none of the tags of the current barriers |
BarrierState |
getBarrierStateFor(java.lang.String barrierName)
Return a BarrierState object representing the current state of a barrier. |
java.util.LinkedList |
getBarrierTags()
Return the list of barrier tags |
java.lang.Object |
getSPMDGroup()
Returns the SPMD group of the active object. |
boolean |
isCurrentBarriersEmpty()
Check if there is active barriers |
boolean |
isTagsListEmpty()
Check if the list of barrier tags is empty |
void |
remove(java.lang.String barrierName)
Remove the informations (BarrierState and tag) of the specified barrier (invoked when the barrier is over). |
void |
setAwaitedBarrierCalls(java.lang.String barrierName,
int nbCalls)
Set the number of awaited barrier calls to release the specified barrier |
void |
setSPMDGroup(java.lang.Object o)
Set the SPMD group for the active object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ProActiveSPMDGroupManager()
Method Detail |
public void setSPMDGroup(java.lang.Object o)
o
- - the new SPMD grouppublic java.lang.Object getSPMDGroup()
public void addToBarrierTags(java.lang.String barrierID)
barrierID
- the barrier namepublic BarrierState getBarrierStateFor(java.lang.String barrierName)
barrierName
- the name of the barrier
public void setAwaitedBarrierCalls(java.lang.String barrierName, int nbCalls)
barrierName
- the name of the barriernbCalls
- the number of awaited callspublic void addToCurrentBarriers(java.lang.String barrierName, BarrierState bs)
barrierName
- the name of the barrierbs
- a state for the barrierpublic void remove(java.lang.String barrierName)
barrierName
- the name of the barrierpublic boolean isTagsListEmpty()
public java.util.LinkedList getBarrierTags()
public boolean checkExecution(java.util.LinkedList barrierTags)
barrierTags
- a list of Tag
public boolean isCurrentBarriersEmpty()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |