public enum RMAppAttemptState extends Enum<RMAppAttemptState>
Enum Constant and Description |
---|
ALLOCATED |
ALLOCATED_SAVING |
FAILED |
FINAL_SAVING |
FINISHED |
FINISHING |
KILLED |
LAUNCHED |
LAUNCHED_UNMANAGED_SAVING |
NEW |
RUNNING |
SCHEDULED |
SUBMITTED |
Modifier and Type | Method and Description |
---|---|
static RMAppAttemptState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RMAppAttemptState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RMAppAttemptState NEW
public static final RMAppAttemptState SUBMITTED
public static final RMAppAttemptState SCHEDULED
public static final RMAppAttemptState ALLOCATED
public static final RMAppAttemptState LAUNCHED
public static final RMAppAttemptState FAILED
public static final RMAppAttemptState RUNNING
public static final RMAppAttemptState FINISHING
public static final RMAppAttemptState FINISHED
public static final RMAppAttemptState KILLED
public static final RMAppAttemptState ALLOCATED_SAVING
public static final RMAppAttemptState LAUNCHED_UNMANAGED_SAVING
public static final RMAppAttemptState FINAL_SAVING
public static RMAppAttemptState[] values()
for (RMAppAttemptState c : RMAppAttemptState.values()) System.out.println(c);
public static RMAppAttemptState 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 © 2022 Apache Software Foundation. All rights reserved.