appl.parallel.spmd
Enum SyncPoint.Priority

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

public static enum SyncPoint.Priority
extends Enum<SyncPoint.Priority>

A high priority means a high priority on operating system level. It should be used by implementations of AdvancedSPMDClientController and AdvancedSPMDServerController

Author:
Dominik Appl

Enum Constant Summary
ABOVE_NORMAL
           
BELOW_NORMAL
           
HIGH
           
LOW
           
NORMAL
           
 
Method Summary
 int getPriority()
           
static SyncPoint.Priority valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SyncPoint.Priority[] 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

LOW

public static final SyncPoint.Priority LOW

BELOW_NORMAL

public static final SyncPoint.Priority BELOW_NORMAL

NORMAL

public static final SyncPoint.Priority NORMAL

ABOVE_NORMAL

public static final SyncPoint.Priority ABOVE_NORMAL

HIGH

public static final SyncPoint.Priority HIGH
Method Detail

values

public static SyncPoint.Priority[] 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 (SyncPoint.Priority c : SyncPoint.Priority.values())
    System.out.println(c);

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

valueOf

public static SyncPoint.Priority 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

getPriority

public int getPriority()
Returns:
the priority