appl.parallel.spmd
Enum SPMDClientController.STATE
java.lang.Object
java.lang.Enum<SPMDClientController.STATE>
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...)
INIT
public static final SPMDClientController.STATE INIT
RUN
public static final SPMDClientController.STATE RUN
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