com.sun.n1.sps.model.plan
Class ExecutionMode
java.lang.Object
com.sun.n1.util.enum.EnumImpl
com.sun.n1.util.enumx.EnumXImpl
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.
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. |
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 |
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.