Package | Description |
---|---|
org.apache.hadoop.yarn.api.records |
Modifier and Type | Method and Description |
---|---|
abstract ContainerState |
ContainerReport.getContainerState()
Get the final
ContainerState of the container. |
abstract ContainerState |
ContainerStatus.getState()
Get the
ContainerState of the container. |
static ContainerState |
ContainerState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContainerState[] |
ContainerState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static ContainerStatus |
ContainerStatus.newInstance(ContainerId containerId,
ContainerState containerState,
String diagnostics,
int exitStatus) |
static ContainerReport |
ContainerReport.newInstance(ContainerId containerId,
Resource allocatedResource,
NodeId assignedNode,
Priority priority,
long creationTime,
long finishTime,
String diagnosticInfo,
String logUrl,
int containerExitStatus,
ContainerState containerState,
String nodeHttpAddress) |
abstract void |
ContainerReport.setContainerState(ContainerState containerState) |
abstract void |
ContainerStatus.setState(ContainerState state) |
Copyright © 2015 Apache Software Foundation. All rights reserved.