public enum RMAppAttemptEventType extends Enum<RMAppAttemptEventType>
Enum Constant and Description |
---|
ATTEMPT_ADDED |
ATTEMPT_NEW_SAVED |
ATTEMPT_UPDATE_SAVED |
CONTAINER_ALLOCATED |
CONTAINER_FINISHED |
EXPIRE |
FAIL |
KILL |
LAUNCH_FAILED |
LAUNCHED |
RECOVER |
REGISTERED |
START |
STATUS_UPDATE |
UNREGISTERED |
Modifier and Type | Method and Description |
---|---|
static RMAppAttemptEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RMAppAttemptEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RMAppAttemptEventType START
public static final RMAppAttemptEventType KILL
public static final RMAppAttemptEventType FAIL
public static final RMAppAttemptEventType LAUNCHED
public static final RMAppAttemptEventType LAUNCH_FAILED
public static final RMAppAttemptEventType EXPIRE
public static final RMAppAttemptEventType REGISTERED
public static final RMAppAttemptEventType STATUS_UPDATE
public static final RMAppAttemptEventType UNREGISTERED
public static final RMAppAttemptEventType CONTAINER_ALLOCATED
public static final RMAppAttemptEventType CONTAINER_FINISHED
public static final RMAppAttemptEventType ATTEMPT_NEW_SAVED
public static final RMAppAttemptEventType ATTEMPT_UPDATE_SAVED
public static final RMAppAttemptEventType ATTEMPT_ADDED
public static final RMAppAttemptEventType RECOVER
public static RMAppAttemptEventType[] values()
for (RMAppAttemptEventType c : RMAppAttemptEventType.values()) System.out.println(c);
public static RMAppAttemptEventType 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 © 2017 Apache Software Foundation. All Rights Reserved.