org.objectweb.proactive.core.group.spmd
Class MethodCallBarrier
java.lang.Object
org.objectweb.proactive.core.mop.MethodCall
org.objectweb.proactive.core.group.MethodCallControlForGroup
org.objectweb.proactive.core.group.spmd.MethodCallBarrier
- All Implemented Interfaces:
- java.io.Serializable
- public class MethodCallBarrier
- extends MethodCallControlForGroup
This class represents a call of strong synchronization between the member of a SPMD Group.
- Author:
- Laurent Baduel
- See Also:
- Serialized Form
Method Summary |
int |
getAwaitedCalls()
Returns the number of awaited call for this barrier |
java.lang.String |
getIDName()
Returns the ID name of the barrier |
java.lang.String |
getName()
Returns the name of the call |
Methods inherited from class org.objectweb.proactive.core.mop.MethodCall |
getComponentMethodCall, getFcFunctionalInterfaceName, getMethodCall, getParameter, getRecycleMethodCallObject, getTag, makeDeepCopyOfArguments, setEffectiveArguments, setFcFunctionalInterfaceName, setMethodCall, setRecycleMethodCallObject, setTag, transformEffectiveArgumentsIntoByteArray |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodCallBarrier
public MethodCallBarrier(java.lang.String idname,
int nbCalls)
- Constructor
- Parameters:
idname
- - the id name of the barriernbCalls
- - the number of call need to finish the barrier
MethodCallBarrier
public MethodCallBarrier(java.lang.String idname)
- Constructor
- Parameters:
idname
- - the id name of the barrier
getName
public java.lang.String getName()
- Returns the name of the call
- Overrides:
getName
in class MethodCall
- Returns:
- the String "MethodCallBarrier"
getAwaitedCalls
public int getAwaitedCalls()
- Returns the number of awaited call for this barrier
- Returns:
- the number of awaited call for this barrier
getIDName
public java.lang.String getIDName()
- Returns the ID name of the barrier
- Returns:
- the ID name of the barrier
Copyright ? October 2004 INRIA All Rights Reserved.