public enum SchedulerStatusData extends Enum<SchedulerStatusData>
Enum Constant and Description |
---|
FROZEN
The scheduler is in freeze mode.
|
KILLED
The scheduler has been killed, nothing can be done anymore.
|
PAUSED
The scheduler is paused.
|
SHUTTING_DOWN
The scheduler is shutting down,
It will terminate all running tasks.
|
STARTED
The scheduler is running.
|
STOPPED
The scheduler is stopped.
|
UNLINKED
The scheduler is unlinked with RM,
This can be due to the crash of the resource manager.
|
Modifier and Type | Method and Description |
---|---|
static SchedulerStatusData |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchedulerStatusData[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchedulerStatusData STARTED
public static final SchedulerStatusData STOPPED
public static final SchedulerStatusData FROZEN
public static final SchedulerStatusData PAUSED
public static final SchedulerStatusData SHUTTING_DOWN
public static final SchedulerStatusData UNLINKED
public static final SchedulerStatusData KILLED
public static SchedulerStatusData[] values()
for (SchedulerStatusData c : SchedulerStatusData.values()) System.out.println(c);
public static SchedulerStatusData 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