@InterfaceAudience.Private public enum TaskAttemptStateInternal extends Enum<TaskAttemptStateInternal>
| Enum Constant and Description |
|---|
FAIL_IN_PROGRESS |
FAILED |
KILL_IN_PROGRESS |
KILLED |
NEW |
RUNNING |
START_WAIT |
SUBMITTED |
SUCCEEDED |
| Modifier and Type | Method and Description |
|---|---|
static TaskAttemptStateInternal |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskAttemptStateInternal[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskAttemptStateInternal NEW
public static final TaskAttemptStateInternal START_WAIT
public static final TaskAttemptStateInternal SUBMITTED
public static final TaskAttemptStateInternal RUNNING
public static final TaskAttemptStateInternal KILL_IN_PROGRESS
public static final TaskAttemptStateInternal FAIL_IN_PROGRESS
public static final TaskAttemptStateInternal KILLED
public static final TaskAttemptStateInternal FAILED
public static final TaskAttemptStateInternal SUCCEEDED
public static TaskAttemptStateInternal[] values()
for (TaskAttemptStateInternal c : TaskAttemptStateInternal.values()) System.out.println(c);
public static TaskAttemptStateInternal 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 © 2019 Apache Software Foundation. All rights reserved.