public enum RMContainerEventType extends Enum<RMContainerEventType>
Enum Constant and Description |
---|
ACQUIRE_UPDATED_CONTAINER |
ACQUIRED |
CHANGE_RESOURCE |
EXPIRE |
FINISHED |
KILL |
LAUNCHED |
NM_DONE_CHANGE_RESOURCE |
RECOVER |
RELEASED |
RESERVED |
START |
Modifier and Type | Method and Description |
---|---|
static RMContainerEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RMContainerEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RMContainerEventType START
public static final RMContainerEventType ACQUIRED
public static final RMContainerEventType KILL
public static final RMContainerEventType RESERVED
public static final RMContainerEventType ACQUIRE_UPDATED_CONTAINER
public static final RMContainerEventType LAUNCHED
public static final RMContainerEventType FINISHED
public static final RMContainerEventType RELEASED
public static final RMContainerEventType EXPIRE
public static final RMContainerEventType RECOVER
public static final RMContainerEventType CHANGE_RESOURCE
public static final RMContainerEventType NM_DONE_CHANGE_RESOURCE
public static RMContainerEventType[] values()
for (RMContainerEventType c : RMContainerEventType.values()) System.out.println(c);
public static RMContainerEventType 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.