public static enum Speculator.EventType extends Enum<Speculator.EventType>
Enum Constant and Description |
---|
ATTEMPT_START |
ATTEMPT_STATUS_UPDATE |
JOB_CREATE |
TASK_CONTAINER_NEED_UPDATE |
Modifier and Type | Method and Description |
---|---|
static Speculator.EventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Speculator.EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Speculator.EventType ATTEMPT_STATUS_UPDATE
public static final Speculator.EventType ATTEMPT_START
public static final Speculator.EventType TASK_CONTAINER_NEED_UPDATE
public static final Speculator.EventType JOB_CREATE
public static Speculator.EventType[] values()
for (Speculator.EventType c : Speculator.EventType.values()) System.out.println(c);
public static Speculator.EventType 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 © 2008–2024 Apache Software Foundation. All rights reserved.