| Package | Description |
|---|---|
| org.apache.hadoop.yarn.server.api |
| Modifier and Type | Method | Description |
|---|---|---|
ContainerType |
ContainerContext.getContainerType() |
Get
ContainerType the type of the container
being initialized or stopped. |
ContainerType |
ContainerLogContext.getContainerType() |
Get
ContainerType the type of the container. |
static ContainerType |
ContainerType.valueOf(java.lang.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 | Description |
|---|---|
ContainerContext(java.lang.String user,
ContainerId containerId,
Resource resource,
ContainerType containerType) |
|
ContainerContext(java.lang.String user,
ContainerId containerId,
Resource resource,
ContainerType containerType,
ExecutionType executionType) |
|
ContainerInitializationContext(java.lang.String user,
ContainerId containerId,
Resource resource,
ContainerType containerType) |
|
ContainerLogContext(ContainerId containerId,
ContainerType containerType,
int exitCode) |
|
ContainerTerminationContext(java.lang.String user,
ContainerId containerId,
Resource resource,
ContainerType containerType) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.