org.gridlab.gat.resources
Enum WrapperJobDescription.StagingType

java.lang.Object
  extended by java.lang.Enum<WrapperJobDescription.StagingType>
      extended by org.gridlab.gat.resources.WrapperJobDescription.StagingType
All Implemented Interfaces:
Serializable, Comparable<WrapperJobDescription.StagingType>
Enclosing class:
WrapperJobDescription

public static enum WrapperJobDescription.StagingType
extends Enum<WrapperJobDescription.StagingType>

An instance of this enumeration indicates the staging type of the WrapperJobDescription.

Author:
rkemp

Enum Constant Summary
PARALLEL
          Parallel staging.
SEQUENTIAL
          Sequential staging.
 
Method Summary
static WrapperJobDescription.StagingType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WrapperJobDescription.StagingType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SEQUENTIAL

public static final WrapperJobDescription.StagingType SEQUENTIAL
Sequential staging. At any given moment there will be max one of the wrapped jobs be busy staging. Post staging and pre staging can happen together.


PARALLEL

public static final WrapperJobDescription.StagingType PARALLEL
Parallel staging. All wrapped jobs can stage in parallel. This might overload the host where the data is located, if many wrapped jobs stage in parallel.

Method Detail

values

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

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

valueOf

public static WrapperJobDescription.StagingType 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