public static enum CMgrCompletedContainersEvent.Reason extends Enum<CMgrCompletedContainersEvent.Reason>
| Enum Constant and Description | 
|---|
| BY_RESOURCEMANAGERContainer is killed on request by the ResourceManager | 
| ON_NODEMANAGER_RESYNCContainer is killed as the Nodemanager is re-syncing with the
 ResourceManager | 
| ON_SHUTDOWNContainer 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–2023 Apache Software Foundation. All rights reserved.