ContainerInitializationContext, ContainerTerminationContext@Public
@Evolving
public class ContainerContext
extends java.lang.Object
AuxiliaryService initializing and stopping a
container.| Constructor | Description |
|---|---|
ContainerContext(java.lang.String user,
ContainerId containerId,
Resource resource) |
|
ContainerContext(java.lang.String user,
ContainerId containerId,
Resource resource,
ContainerType containerType) |
|
ContainerContext(java.lang.String user,
ContainerId containerId,
Resource resource,
ContainerType containerType,
ExecutionType executionType) |
| Modifier and Type | Method | Description |
|---|---|---|
ContainerId |
getContainerId() |
Get
ContainerId of the container being initialized or stopped. |
ContainerType |
getContainerType() |
Get
ContainerType the type of the container
being initialized or stopped. |
ExecutionType |
getExecutionType() |
Get
ExecutionType the execution type of the container
being initialized or stopped. |
Resource |
getResource() |
Get
Resource the resource capability allocated to the container
being initialized or stopped. |
java.lang.String |
getUser() |
Get user of the container being initialized or stopped.
|
@Private
@Unstable
public ContainerContext(java.lang.String user,
ContainerId containerId,
Resource resource)
@Private
@Unstable
public ContainerContext(java.lang.String user,
ContainerId containerId,
Resource resource,
ContainerType containerType)
@Private
@Unstable
public ContainerContext(java.lang.String user,
ContainerId containerId,
Resource resource,
ContainerType containerType,
ExecutionType executionType)
public java.lang.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–2025 Apache Software Foundation. All rights reserved.