org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt
Enum RMAppAttemptEventType
java.lang.Object
java.lang.Enum<RMAppAttemptEventType>
org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.RMAppAttemptEventType
- All Implemented Interfaces:
- Serializable, Comparable<RMAppAttemptEventType>
public enum RMAppAttemptEventType
- extends Enum<RMAppAttemptEventType>
START
public static final RMAppAttemptEventType START
KILL
public static final RMAppAttemptEventType KILL
LAUNCHED
public static final RMAppAttemptEventType LAUNCHED
LAUNCH_FAILED
public static final RMAppAttemptEventType LAUNCH_FAILED
EXPIRE
public static final RMAppAttemptEventType EXPIRE
REGISTERED
public static final RMAppAttemptEventType REGISTERED
STATUS_UPDATE
public static final RMAppAttemptEventType STATUS_UPDATE
UNREGISTERED
public static final RMAppAttemptEventType UNREGISTERED
CONTAINER_ACQUIRED
public static final RMAppAttemptEventType CONTAINER_ACQUIRED
CONTAINER_ALLOCATED
public static final RMAppAttemptEventType CONTAINER_ALLOCATED
CONTAINER_FINISHED
public static final RMAppAttemptEventType CONTAINER_FINISHED
ATTEMPT_SAVED
public static final RMAppAttemptEventType ATTEMPT_SAVED
APP_REJECTED
public static final RMAppAttemptEventType APP_REJECTED
APP_ACCEPTED
public static final RMAppAttemptEventType APP_ACCEPTED
RECOVER
public static final RMAppAttemptEventType RECOVER
values
public static RMAppAttemptEventType[] 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 (RMAppAttemptEventType c : RMAppAttemptEventType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RMAppAttemptEventType 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.