| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.server.api | 
| Modifier and Type | Method and Description | 
|---|---|
| ContainerType | ContainerLogContext. getContainerType()Get  ContainerTypethe type of the container. | 
| ContainerType | ContainerContext. getContainerType()Get  ContainerTypethe type of the container
 being initialized or stopped. | 
| static ContainerType | ContainerType. valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static ContainerType[] | ContainerType. values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Constructor and Description | 
|---|
| ContainerContext(String user,
                ContainerId containerId,
                Resource resource,
                ContainerType containerType) | 
| ContainerContext(String user,
                ContainerId containerId,
                Resource resource,
                ContainerType containerType,
                ExecutionType executionType) | 
| ContainerInitializationContext(String user,
                              ContainerId containerId,
                              Resource resource,
                              ContainerType containerType) | 
| ContainerLogContext(ContainerId containerId,
                   ContainerType containerType,
                   int exitCode) | 
| ContainerTerminationContext(String user,
                           ContainerId containerId,
                           Resource resource,
                           ContainerType containerType) | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.