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

java.lang.Object
  extended byorg.objectweb.proactive.core.mop.MethodCall
      extended byorg.objectweb.proactive.core.group.MethodCallControlForGroup
          extended byorg.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

Nested Class Summary
 
Nested classes inherited from class org.objectweb.proactive.core.mop.MethodCall
MethodCall.FixWrapper
 
Field Summary
 
Fields inherited from class org.objectweb.proactive.core.mop.MethodCall
COMPONENT_TAG
 
Constructor Summary
MethodCallBarrier(java.lang.String idname)
          Constructor
MethodCallBarrier(java.lang.String idname, int nbCalls)
          Constructor
 
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.group.MethodCallControlForGroup
execute, finalize, getNumberOfParameter, getReifiedMethod, isAsynchronousWayCall, isOneWayCall, readTheObject, writeTheObject
 
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
 

Constructor Detail

MethodCallBarrier

public MethodCallBarrier(java.lang.String idname,
                         int nbCalls)
Constructor

Parameters:
idname - - the id name of the barrier
nbCalls - - 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
Method Detail

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.