startup
Enum FunSiPWorkflow.MULTITHREADING

java.lang.Object
  extended by java.lang.Enum<FunSiPWorkflow.MULTITHREADING>
      extended by startup.FunSiPWorkflow.MULTITHREADING
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FunSiPWorkflow.MULTITHREADING>
Enclosing class:
FunSiPWorkflow

public static enum FunSiPWorkflow.MULTITHREADING
extends java.lang.Enum<FunSiPWorkflow.MULTITHREADING>

The different types of available multithreading: a) NO_MULTITHREADING : no multithreading at all b) SINGLE_PC_MULTITHREADING : launches each different ClassificationAction in a seperate thread, and waits until they're all finished; c) CLUSTER_MULTITHREADING : attempts to launch each ClassificationAction in a seperate job for the cluster (standard qsub-command). The utilizes a busy loop to poll once each minute to check whether all the posted jobs are finished.

Author:
Michiel Van Bel

Enum Constant Summary
CLUSTER_MULTITHREADING
           
NO_MULTITHREADING
           
SINGLE_PC_MULTITHREADING
           
 
Method Summary
static FunSiPWorkflow.MULTITHREADING valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FunSiPWorkflow.MULTITHREADING[] 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

NO_MULTITHREADING

public static final FunSiPWorkflow.MULTITHREADING NO_MULTITHREADING

SINGLE_PC_MULTITHREADING

public static final FunSiPWorkflow.MULTITHREADING SINGLE_PC_MULTITHREADING

CLUSTER_MULTITHREADING

public static final FunSiPWorkflow.MULTITHREADING CLUSTER_MULTITHREADING
Method Detail

values

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

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

valueOf

public static FunSiPWorkflow.MULTITHREADING valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null