public static enum AbstractAsyncServiceScheduler.AsyncServiceSchedulerStatus extends Enum<AbstractAsyncServiceScheduler.AsyncServiceSchedulerStatus>
Enum Constant and Description |
---|
ERROR
Encountered unrecoverable error.
|
NOT_STARTED
Constructed but not yet started.
|
PAUSED
Paused.
|
PAUSING
In the process of pausing.
|
RUNNING
Running and pulling requests from request queue.
|
SHUTDOWN
Fully shutdown.
|
SHUTTING_DOWN
In the process of shutting down.
|
Modifier and Type | Method and Description |
---|---|
static AbstractAsyncServiceScheduler.AsyncServiceSchedulerStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractAsyncServiceScheduler.AsyncServiceSchedulerStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractAsyncServiceScheduler.AsyncServiceSchedulerStatus NOT_STARTED
public static final AbstractAsyncServiceScheduler.AsyncServiceSchedulerStatus RUNNING
public static final AbstractAsyncServiceScheduler.AsyncServiceSchedulerStatus PAUSING
public static final AbstractAsyncServiceScheduler.AsyncServiceSchedulerStatus PAUSED
public static final AbstractAsyncServiceScheduler.AsyncServiceSchedulerStatus SHUTTING_DOWN
public static final AbstractAsyncServiceScheduler.AsyncServiceSchedulerStatus SHUTDOWN
public static final AbstractAsyncServiceScheduler.AsyncServiceSchedulerStatus ERROR
public static AbstractAsyncServiceScheduler.AsyncServiceSchedulerStatus[] values()
for (AbstractAsyncServiceScheduler.AsyncServiceSchedulerStatus c : AbstractAsyncServiceScheduler.AsyncServiceSchedulerStatus.values()) System.out.println(c);
public static AbstractAsyncServiceScheduler.AsyncServiceSchedulerStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null