com.sun.n1.sps.model.plan
Class ExecutionMode

java.lang.Object
  extended by com.sun.n1.util.enum.EnumImpl
      extended by com.sun.n1.util.enumx.EnumXImpl
          extended by com.sun.n1.sps.model.plan.ExecutionMode
All Implemented Interfaces:
Enum, EnumX

public class ExecutionMode
extends EnumXImpl

A strongly-typed enumeration of execution modes, which may be either PARALLEL or SERIES. This class is used in conjunction with the ExecutionPlan class to specify the execution concurrency of a simple plan.


Nested Class Summary
static class ExecutionMode.Factory
          Factory for execution mode enums.
 
Field Summary
static ExecutionMode.Factory FACTORY
          The factory which may be used to lookup ExecutionMode by string or int value.
static ExecutionMode PARALLEL
          ExecutionMode value indicating that the associated simple plan will be executed in parallel on each of the target hosts, meaning more than one host may execute the plan concurrently.
static ExecutionMode SERIES
          ExecutionMode value indicating that the associated simple plan will be executed in series on each of the target hosts, meaning all plan steps wil complete on one host before running the plan on the next host.
 
Method Summary
 
Methods inherited from class com.sun.n1.util.enum.EnumImpl
equals, hashCode, toInt, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sun.n1.util.enum.Enum
toInt
 

Field Detail

FACTORY

public static final ExecutionMode.Factory FACTORY
The factory which may be used to lookup ExecutionMode by string or int value.


PARALLEL

public static final ExecutionMode PARALLEL
ExecutionMode value indicating that the associated simple plan will be executed in parallel on each of the target hosts, meaning more than one host may execute the plan concurrently.


SERIES

public static final ExecutionMode SERIES
ExecutionMode value indicating that the associated simple plan will be executed in series on each of the target hosts, meaning all plan steps wil complete on one host before running the plan on the next host.