public static enum CMgrCompletedContainersEvent.Reason extends Enum<CMgrCompletedContainersEvent.Reason>
Enum Constant and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final CMgrCompletedContainersEvent.Reason ON_SHUTDOWN
public static final CMgrCompletedContainersEvent.Reason ON_NODEMANAGER_RESYNC
public static final CMgrCompletedContainersEvent.Reason BY_RESOURCEMANAGER
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 nameNullPointerException
- if the argument is nullCopyright © 2008–2024 Apache Software Foundation. All rights reserved.