org.apache.hadoop.yarn.server.resourcemanager.rmapp
Enum RMAppEventType
java.lang.Object
java.lang.Enum<RMAppEventType>
org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppEventType
- All Implemented Interfaces:
- Serializable, Comparable<RMAppEventType>
public enum RMAppEventType
- extends Enum<RMAppEventType>
Method Summary |
static RMAppEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RMAppEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
START
public static final RMAppEventType START
RECOVER
public static final RMAppEventType RECOVER
KILL
public static final RMAppEventType KILL
APP_REJECTED
public static final RMAppEventType APP_REJECTED
APP_ACCEPTED
public static final RMAppEventType APP_ACCEPTED
ATTEMPT_REGISTERED
public static final RMAppEventType ATTEMPT_REGISTERED
ATTEMPT_UNREGISTERED
public static final RMAppEventType ATTEMPT_UNREGISTERED
ATTEMPT_FINISHED
public static final RMAppEventType ATTEMPT_FINISHED
ATTEMPT_FAILED
public static final RMAppEventType ATTEMPT_FAILED
ATTEMPT_KILLED
public static final RMAppEventType ATTEMPT_KILLED
NODE_UPDATE
public static final RMAppEventType NODE_UPDATE
APP_SAVED
public static final RMAppEventType APP_SAVED
APP_REMOVED
public static final RMAppEventType APP_REMOVED
values
public static RMAppEventType[] 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 (RMAppEventType c : RMAppEventType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RMAppEventType 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.