appl.parallel.spmd
Enum SPMDClientController.STATE

java.lang.Object
  extended by java.lang.Enum<SPMDClientController.STATE>
      extended by appl.parallel.spmd.SPMDClientController.STATE
All Implemented Interfaces:
Serializable, Comparable<SPMDClientController.STATE>
Enclosing class:
SPMDClientController

public static enum SPMDClientController.STATE
extends Enum<SPMDClientController.STATE>

There are two states:

STATE.INIT is the initializing state. In this state it is allowed:
to add resources to split control
change neighborhodRange/boxing modes/reference resource

All other methods are disabled and will throw UnsupportedOperationException

STATE.RUN is the running stage. All methods of INIT are disabled and will throw UnsupportedOperationException. This mode is automatically set by the first call to SPMDClientController.runSPMDModelTask(SPMDTask, Object...)


Enum Constant Summary
INIT
           
RUN
           
 
Method Summary
static SPMDClientController.STATE valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SPMDClientController.STATE[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INIT

public static final SPMDClientController.STATE INIT

RUN

public static final SPMDClientController.STATE RUN
Method Detail

values

public static SPMDClientController.STATE[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SPMDClientController.STATE c : SPMDClientController.STATE.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SPMDClientController.STATE valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null