org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt
Enum RMAppAttemptState
java.lang.Object
java.lang.Enum<RMAppAttemptState>
org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.RMAppAttemptState
- All Implemented Interfaces:
- Serializable, Comparable<RMAppAttemptState>
public enum RMAppAttemptState
- extends Enum<RMAppAttemptState>
NEW
public static final RMAppAttemptState NEW
SUBMITTED
public static final RMAppAttemptState SUBMITTED
SCHEDULED
public static final RMAppAttemptState SCHEDULED
ALLOCATED
public static final RMAppAttemptState ALLOCATED
LAUNCHED
public static final RMAppAttemptState LAUNCHED
FAILED
public static final RMAppAttemptState FAILED
RUNNING
public static final RMAppAttemptState RUNNING
FINISHING
public static final RMAppAttemptState FINISHING
FINISHED
public static final RMAppAttemptState FINISHED
KILLED
public static final RMAppAttemptState KILLED
ALLOCATED_SAVING
public static final RMAppAttemptState ALLOCATED_SAVING
LAUNCHED_UNMANAGED_SAVING
public static final RMAppAttemptState LAUNCHED_UNMANAGED_SAVING
RECOVERED
public static final RMAppAttemptState RECOVERED
values
public static RMAppAttemptState[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (RMAppAttemptState c : RMAppAttemptState.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RMAppAttemptState valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2014 Apache Software Foundation. All Rights Reserved.