|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CommandExecutor.State>
com.oracle.coherence.patterns.command.internal.CommandExecutor.State
public static enum CommandExecutor.State
The set of possible CommandExecutor.States for a CommandExecutor.
| Enum Constant Summary | |
|---|---|
DELAYING
Indicates that a CommandExecutor has delayed execution
do to some doubt in the ownership of the underlying Command
Context. |
|
EXECUTING
Indicates that a CommandExecutor is in the process of
executing CommandExecutionRequests. |
|
NEW
Indicates that a CommandExecutor has been created,
and may accept CommandExecutionRequests, but
will not execute them until the associated Context has
been provided. |
|
SCHEDULED
Indicates that a CommandExecutor has been been scheduled
to execute CommandExecutionRequests,
but has yet to commence execution. |
|
STARTING
Indicates that a CommandExecutor is in the process of
initializing itself to commence executing
CommandExecutionRequests. |
|
STOPPING
Indicates that a CommandExecutor is in the process of
stopping. |
|
WAITING
Indicates that a CommandExecutor has been successfully
started but is currently waiting for
CommandExecutionRequests to arrive. |
|
| Method Summary | |
|---|---|
static CommandExecutor.State |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CommandExecutor.State[] |
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 |
|---|
public static final CommandExecutor.State NEW
CommandExecutor has been created,
and may accept CommandExecutionRequests, but
will not execute them until the associated Context has
been provided.
public static final CommandExecutor.State STARTING
CommandExecutor is in the process of
initializing itself to commence executing
CommandExecutionRequests.
public static final CommandExecutor.State WAITING
CommandExecutor has been successfully
started but is currently waiting for
CommandExecutionRequests to arrive.
public static final CommandExecutor.State SCHEDULED
CommandExecutor has been been scheduled
to execute CommandExecutionRequests,
but has yet to commence execution.
public static final CommandExecutor.State DELAYING
CommandExecutor has delayed execution
do to some doubt in the ownership of the underlying Command
Context.
public static final CommandExecutor.State EXECUTING
CommandExecutor is in the process of
executing CommandExecutionRequests.
public static final CommandExecutor.State STOPPING
CommandExecutor is in the process of
stopping. It will no longer execute or accept requests
to execute CommandExecutionRequests.
| Method Detail |
|---|
public static CommandExecutor.State[] values()
for (CommandExecutor.State c : CommandExecutor.State.values()) System.out.println(c);
public static CommandExecutor.State valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||