static enum SequentialExecutor.WorkerRunningState extends java.lang.Enum<SequentialExecutor.WorkerRunningState>
| Enum Constant and Description |
|---|
IDLE
Runnable is not running and not queued for execution
|
QUEUED
runnable has been submitted but has not yet begun execution
|
QUEUING
Runnable is not running, but is being queued for execution
|
RUNNING |
| Modifier and Type | Method and Description |
|---|---|
static SequentialExecutor.WorkerRunningState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SequentialExecutor.WorkerRunningState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SequentialExecutor.WorkerRunningState IDLE
public static final SequentialExecutor.WorkerRunningState QUEUING
public static final SequentialExecutor.WorkerRunningState QUEUED
public static final SequentialExecutor.WorkerRunningState RUNNING
public static SequentialExecutor.WorkerRunningState[] values()
for (SequentialExecutor.WorkerRunningState c : SequentialExecutor.WorkerRunningState.values()) System.out.println(c);
public static SequentialExecutor.WorkerRunningState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null