public static enum LightningCoreConstants.WorkerState extends java.lang.Enum<LightningCoreConstants.WorkerState>
Enum Constant and Description |
---|
BAD_STATE |
CACHE_INITIALIZED |
IDLE |
NEVER_STARTED |
RUNNING |
Modifier and Type | Method and Description |
---|---|
static LightningCoreConstants.WorkerState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LightningCoreConstants.WorkerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LightningCoreConstants.WorkerState NEVER_STARTED
public static final LightningCoreConstants.WorkerState RUNNING
public static final LightningCoreConstants.WorkerState IDLE
public static final LightningCoreConstants.WorkerState CACHE_INITIALIZED
public static final LightningCoreConstants.WorkerState BAD_STATE
public static LightningCoreConstants.WorkerState[] values()
for (LightningCoreConstants.WorkerState c : LightningCoreConstants.WorkerState.values()) System.out.println(c);
public static LightningCoreConstants.WorkerState 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