org.objectweb.proactive.core.group.spmd.MethodCallBarrier Class Reference

This class represents a call of strong synchronization between the member of a SPMD Group. More...

Inheritance diagram for org.objectweb.proactive.core.group.spmd.MethodCallBarrier:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.proactive.core.group.spmd.MethodCallBarrier:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MethodCallBarrier (String idname)
 Constructor.
String getName ()
 Returns the name of the call.
String getIDName ()
 Returns the ID name of the barrier.
Object execute (Object target) throws InvocationTargetException, MethodCallExecutionFailedException
 Execution of a barrier call is to block the service of request if the method is sent by the object itself.

Detailed Description

This class represents a call of strong synchronization between the member of a SPMD Group.

Author:
Laurent Baduel

Definition at line 45 of file MethodCallBarrier.java.


Constructor & Destructor Documentation

org.objectweb.proactive.core.group.spmd.MethodCallBarrier.MethodCallBarrier ( String  idname  ) 

Constructor.

Parameters:
idname - the id name of the barrier

Definition at line 54 of file MethodCallBarrier.java.


Member Function Documentation

String org.objectweb.proactive.core.group.spmd.MethodCallBarrier.getName (  ) 

Returns the name of the call.

Returns:
the String "MethodCallBarrier"

Reimplemented from org.objectweb.proactive.core.mop.MethodCall.

Definition at line 62 of file MethodCallBarrier.java.

String org.objectweb.proactive.core.group.spmd.MethodCallBarrier.getIDName (  ) 

Returns the ID name of the barrier.

Returns:
the ID name of the barrier

Definition at line 70 of file MethodCallBarrier.java.

Referenced by org.objectweb.proactive.core.group.spmd.MethodCallBarrier.execute().

Object org.objectweb.proactive.core.group.spmd.MethodCallBarrier.execute ( Object  target  )  throws InvocationTargetException, MethodCallExecutionFailedException

Execution of a barrier call is to block the service of request if the method is sent by the object itself.

Parameters:
target this object is not used.
Returns:
null

Reimplemented from org.objectweb.proactive.core.group.MethodCallControlForGroup.

Definition at line 79 of file MethodCallBarrier.java.

References org.objectweb.proactive.core.group.spmd.ProActiveSPMDGroupManager.addToCurrentBarriers(), org.objectweb.proactive.core.group.spmd.BarrierState.getAwaitedCalls(), org.objectweb.proactive.core.group.spmd.ProActiveSPMDGroupManager.getBarrierStateFor(), org.objectweb.proactive.core.group.spmd.MethodCallBarrier.getIDName(), org.objectweb.proactive.core.group.spmd.BarrierState.getReceivedCalls(), org.objectweb.proactive.core.group.spmd.BarrierState.incrementReceivedCalls(), and org.objectweb.proactive.core.group.spmd.ProActiveSPMDGroupManager.remove().


The documentation for this class was generated from the following file:
Generated on Mon Jan 22 15:16:27 2007 for ProActive by  doxygen 1.5.1