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 |
java.lang.Object |
execute(java.lang.Object target)
Execution of a barrier call is to block the service of request if the method is sent by the object itself. |
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)
- 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"
getIDName
public java.lang.String getIDName()
- Returns the ID name of the barrier
- Returns:
- the ID name of the barrier
execute
public java.lang.Object execute(java.lang.Object target)
throws java.lang.reflect.InvocationTargetException,
MethodCallExecutionFailedException
- Execution of a barrier call is to block the service of request if the method is sent by the object itself.
- Overrides:
execute
in class MethodCallControlForGroup
- Parameters:
target
- this object is not used.
- Returns:
- null
- Throws:
java.lang.reflect.InvocationTargetException
MethodCallExecutionFailedException
Copyright ? April 2005 INRIA All Rights Reserved.