@InterfaceAudience.Public @InterfaceStability.Evolving public class ContainerContext extends Object
AuxiliaryService initializing and stopping a
 container.| Constructor and Description | 
|---|
| ContainerContext(String user,
                ContainerId containerId,
                Resource resource) | 
| ContainerContext(String user,
                ContainerId containerId,
                Resource resource,
                ContainerType containerType) | 
| ContainerContext(String user,
                ContainerId containerId,
                Resource resource,
                ContainerType containerType,
                ExecutionType executionType) | 
| Modifier and Type | Method and Description | 
|---|---|
| ContainerId | getContainerId()Get  ContainerIdof the container being initialized or stopped. | 
| ContainerType | getContainerType()Get  ContainerTypethe type of the container
 being initialized or stopped. | 
| ExecutionType | getExecutionType()Get  ExecutionTypethe execution type of the container
 being initialized or stopped. | 
| Resource | getResource()Get  Resourcethe resource capability allocated to the container
 being initialized or stopped. | 
| String | getUser()Get user of the container being initialized or stopped. | 
@InterfaceAudience.Private @InterfaceStability.Unstable public ContainerContext(String user, ContainerId containerId, Resource resource)
@InterfaceAudience.Private @InterfaceStability.Unstable public ContainerContext(String user, ContainerId containerId, Resource resource, ContainerType containerType)
@InterfaceAudience.Private @InterfaceStability.Unstable public ContainerContext(String user, ContainerId containerId, Resource resource, ContainerType containerType, ExecutionType executionType)
public String getUser()
public ContainerId getContainerId()
ContainerId of the container being initialized or stopped.public Resource getResource()
Resource the resource capability allocated to the container
 being initialized or stopped.public ContainerType getContainerType()
ContainerType the type of the container
 being initialized or stopped.public ExecutionType getExecutionType()
ExecutionType the execution type of the container
 being initialized or stopped.Copyright © 2008–2023 Apache Software Foundation. All rights reserved.