|
||||||||||
| 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 | |
|---|---|
Executing
Executing indicates that a CommandExecutor
is in the process of executing CommandExecutionRequests. |
|
New
The New state indicates that a CommandExecutor
has been created, and may accept CommandExecutionRequests, but
will not execute them until the associated Context has
been provided. |
|
Scheduled
Scheduled indicates that a CommandExecutor has
been been scheduled to execute CommandExecutionRequests,
but has yet to commence execution. |
|
Starting
The Starting state indicates that a CommandExecutor
is in the process of initializing itself to commence executing
CommandExecutionRequests. |
|
Stopped
Stopped indicates that a CommandExecutor is
now stopped and will no longer execute or accept requests
to execute CommandExecutionRequests. |
|
Waiting
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
New state indicates that a 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
Starting state indicates that a CommandExecutor
is in the process of initializing itself to commence executing
CommandExecutionRequests.
public static final CommandExecutor.State Waiting
Waiting indicates that a CommandExecutor has
been successfully started but is currently waiting for
CommandExecutionRequests to arrive.
public static final CommandExecutor.State Scheduled
Scheduled indicates that a CommandExecutor has
been been scheduled to execute CommandExecutionRequests,
but has yet to commence execution.
public static final CommandExecutor.State Executing
Executing indicates that a CommandExecutor
is in the process of executing CommandExecutionRequests.
public static final CommandExecutor.State Stopped
Stopped indicates that a CommandExecutor is
now stopped and 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 | |||||||||