@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) |
| Modifier and Type | Method and Description |
|---|---|
ContainerId |
getContainerId()
Get
ContainerId of the container being initialized or stopped. |
Resource |
getResource()
Get
Resource the 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)
public String getUser()
public ContainerId getContainerId()
ContainerId of the container being initialized or stopped.Copyright © 2018 CERN. All Rights Reserved.