public enum SchedulerEventType extends Enum<SchedulerEventType>
| Enum Constant and Description |
|---|
APP_ADDED |
APP_ATTEMPT_ADDED |
APP_ATTEMPT_REMOVED |
APP_REMOVED |
CONTAINER_EXPIRED |
CONTAINER_RESCHEDULED |
DROP_RESERVATION |
KILL_CONTAINER |
NODE_ADDED |
NODE_LABELS_UPDATE |
NODE_REMOVED |
NODE_RESOURCE_UPDATE |
NODE_UPDATE |
PREEMPT_CONTAINER |
| Modifier and Type | Method and Description |
|---|---|
static SchedulerEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchedulerEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchedulerEventType NODE_ADDED
public static final SchedulerEventType NODE_REMOVED
public static final SchedulerEventType NODE_UPDATE
public static final SchedulerEventType NODE_RESOURCE_UPDATE
public static final SchedulerEventType NODE_LABELS_UPDATE
public static final SchedulerEventType APP_ADDED
public static final SchedulerEventType APP_REMOVED
public static final SchedulerEventType APP_ATTEMPT_ADDED
public static final SchedulerEventType APP_ATTEMPT_REMOVED
public static final SchedulerEventType CONTAINER_EXPIRED
public static final SchedulerEventType CONTAINER_RESCHEDULED
public static final SchedulerEventType DROP_RESERVATION
public static final SchedulerEventType PREEMPT_CONTAINER
public static final SchedulerEventType KILL_CONTAINER
public static SchedulerEventType[] values()
for (SchedulerEventType c : SchedulerEventType.values()) System.out.println(c);
public static SchedulerEventType 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 nullCopyright © 2016 Apache Software Foundation. All Rights Reserved.