|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CMgrCompletedContainersEvent.Reason>
org.apache.hadoop.yarn.server.nodemanager.CMgrCompletedContainersEvent.Reason
public static enum CMgrCompletedContainersEvent.Reason
| Enum Constant Summary | |
|---|---|
BY_RESOURCEMANAGER
Container is killed on request by the ResourceManager |
|
ON_NODEMANAGER_RESYNC
Container is killed as the Nodemanager is re-syncing with the ResourceManager |
|
ON_SHUTDOWN
Container is killed as NodeManager is shutting down |
|
| Method Summary | |
|---|---|
static CMgrCompletedContainersEvent.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CMgrCompletedContainersEvent.Reason[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final CMgrCompletedContainersEvent.Reason ON_SHUTDOWN
public static final CMgrCompletedContainersEvent.Reason ON_NODEMANAGER_RESYNC
public static final CMgrCompletedContainersEvent.Reason BY_RESOURCEMANAGER
| Method Detail |
|---|
public static CMgrCompletedContainersEvent.Reason[] values()
for (CMgrCompletedContainersEvent.Reason c : CMgrCompletedContainersEvent.Reason.values()) System.out.println(c);
public static CMgrCompletedContainersEvent.Reason valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||