@PublicAPI public enum SchedulerEvent extends Enum<SchedulerEvent>
This is also used to choose which events you want to received from the scheduler.
for more details.
$Id$
Enum Constant and Description |
---|
DB_DOWN
The database is no more available.
|
FROZEN
The scheduler has just been frozen, this pause will stop every process except the running one.
|
JOB_CHANGE_PRIORITY
The priority of a job has just been change.
|
JOB_IN_ERROR
A job has just been paused on error.
|
JOB_PAUSED
A job has just been paused.
|
JOB_PENDING_TO_FINISHED
A job has been terminated from pending queue.
|
JOB_PENDING_TO_RUNNING
A job has just been scheduled.
|
JOB_REMOVE_FINISHED
A job has just been removed from scheduler.
|
JOB_RESTARTED_FROM_ERROR
A job has just been restarted from error.
|
JOB_RESUMED
A job has just been resumed.
|
JOB_RUNNING_TO_FINISHED
A job has just finished.
|
JOB_SUBMITTED
A job has just been submitted.
|
JOB_UPDATED
A job has just been updated.
|
KILLED
The scheduler has just been killed.
|
PAUSED
The scheduler has just been paused.
|
POLICY_CHANGED
The scheduling policy has been changed.
|
RESUMED
The scheduler has just been resumed.
|
RM_DOWN
The Resource Manager is no more available.
|
RM_UP
The Resource Manager is re-available .
|
SHUTDOWN
Deprecated.
|
SHUTTING_DOWN
The scheduler is shutting down.
|
STARTED
The scheduler has just been started.
|
STOPPED
The scheduler has just been stopped.
|
TASK_IN_ERROR
A task has just been paused due to an error while executing
|
TASK_IN_ERROR_TO_FINISHED
A task has just had an error, was marked as finished.
|
TASK_PENDING_TO_RUNNING
A task has just been scheduled.
|
TASK_PROGRESS
A new task progress value is available
|
TASK_REPLICATED
A Control Flow Action led to the replication of a task
|
TASK_RUNNING_TO_FINISHED
A task has just finished.
|
TASK_SKIPPED
A Control Flow Action (branching) led to a task being skipped
|
TASK_WAITING_FOR_RESTART
A task has just had an error, it will wait for restart.
|
USERS_UPDATE
A user has just connect the scheduler or submit a job.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static SchedulerEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchedulerEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchedulerEvent FROZEN
public static final SchedulerEvent RESUMED
@Deprecated public static final SchedulerEvent SHUTDOWN
public static final SchedulerEvent SHUTTING_DOWN
public static final SchedulerEvent STARTED
public static final SchedulerEvent STOPPED
public static final SchedulerEvent KILLED
public static final SchedulerEvent JOB_PAUSED
public static final SchedulerEvent JOB_PENDING_TO_RUNNING
public static final SchedulerEvent JOB_RESUMED
public static final SchedulerEvent JOB_SUBMITTED
public static final SchedulerEvent JOB_RUNNING_TO_FINISHED
public static final SchedulerEvent JOB_REMOVE_FINISHED
public static final SchedulerEvent TASK_PENDING_TO_RUNNING
public static final SchedulerEvent TASK_RUNNING_TO_FINISHED
public static final SchedulerEvent TASK_WAITING_FOR_RESTART
public static final SchedulerEvent JOB_CHANGE_PRIORITY
public static final SchedulerEvent PAUSED
public static final SchedulerEvent RM_DOWN
public static final SchedulerEvent RM_UP
public static final SchedulerEvent USERS_UPDATE
public static final SchedulerEvent POLICY_CHANGED
public static final SchedulerEvent JOB_PENDING_TO_FINISHED
public static final SchedulerEvent TASK_REPLICATED
public static final SchedulerEvent TASK_SKIPPED
public static final SchedulerEvent TASK_PROGRESS
public static final SchedulerEvent DB_DOWN
public static final SchedulerEvent JOB_IN_ERROR
public static final SchedulerEvent TASK_IN_ERROR
public static final SchedulerEvent JOB_RESTARTED_FROM_ERROR
public static final SchedulerEvent JOB_UPDATED
public static final SchedulerEvent TASK_IN_ERROR_TO_FINISHED
public static SchedulerEvent[] values()
for (SchedulerEvent c : SchedulerEvent.values()) System.out.println(c);
public static SchedulerEvent 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 nullpublic String toString()