@Public
@Unstable
public abstract class ContainerReport
extends java.lang.Object
ContainerReport is a report of an container.
It includes details such as:
ContainerId of the container.ContainerState of the container.| Constructor | Description |
|---|---|
ContainerReport() |
| Modifier and Type | Method | Description |
|---|---|---|
abstract Resource |
getAllocatedResource() |
Get the allocated
Resource of the container. |
abstract NodeId |
getAssignedNode() |
Get the allocated
NodeId where container is running. |
abstract int |
getContainerExitStatus() |
Get the final
exit status of the container. |
abstract ContainerId |
getContainerId() |
Get the
ContainerId of the container. |
abstract ContainerState |
getContainerState() |
Get the final
ContainerState of the container. |
abstract long |
getCreationTime() |
Get the creation time of the container.
|
abstract java.lang.String |
getDiagnosticsInfo() |
Get the DiagnosticsInfo of the container.
|
abstract ExecutionType |
getExecutionType() |
Get the execution type of the container.
|
abstract java.lang.String |
getExposedPorts() |
Get exposed ports of the container.
|
abstract long |
getFinishTime() |
Get the Finish time of the container.
|
abstract java.lang.String |
getLogUrl() |
Get the LogURL of the container.
|
abstract java.lang.String |
getNodeHttpAddress() |
Get the Node Http address of the container.
|
abstract Priority |
getPriority() |
Get the allocated
Priority of the container. |
static ContainerReport |
newInstance(ContainerId containerId,
Resource allocatedResource,
NodeId assignedNode,
Priority priority,
long creationTime,
long finishTime,
java.lang.String diagnosticInfo,
java.lang.String logUrl,
int containerExitStatus,
ContainerState containerState,
java.lang.String nodeHttpAddress) |
|
static ContainerReport |
newInstance(ContainerId containerId,
Resource allocatedResource,
NodeId assignedNode,
Priority priority,
long creationTime,
long finishTime,
java.lang.String diagnosticInfo,
java.lang.String logUrl,
int containerExitStatus,
ContainerState containerState,
java.lang.String nodeHttpAddress,
ExecutionType executionType) |
|
abstract void |
setAllocatedResource(Resource resource) |
|
abstract void |
setAssignedNode(NodeId nodeId) |
|
abstract void |
setContainerExitStatus(int containerExitStatus) |
|
abstract void |
setContainerId(ContainerId containerId) |
|
abstract void |
setContainerState(ContainerState containerState) |
|
abstract void |
setCreationTime(long creationTime) |
|
abstract void |
setDiagnosticsInfo(java.lang.String diagnosticsInfo) |
|
abstract void |
setExecutionType(ExecutionType executionType) |
|
abstract void |
setExposedPorts(java.util.Map<java.lang.String,java.util.List<java.util.Map<java.lang.String,java.lang.String>>> ports) |
|
abstract void |
setFinishTime(long finishTime) |
|
abstract void |
setLogUrl(java.lang.String logUrl) |
|
abstract void |
setNodeHttpAddress(java.lang.String nodeHttpAddress) |
|
abstract void |
setPriority(Priority priority) |
@Private @Unstable public static ContainerReport newInstance(ContainerId containerId, Resource allocatedResource, NodeId assignedNode, Priority priority, long creationTime, long finishTime, java.lang.String diagnosticInfo, java.lang.String logUrl, int containerExitStatus, ContainerState containerState, java.lang.String nodeHttpAddress)
@Private @Unstable public static ContainerReport newInstance(ContainerId containerId, Resource allocatedResource, NodeId assignedNode, Priority priority, long creationTime, long finishTime, java.lang.String diagnosticInfo, java.lang.String logUrl, int containerExitStatus, ContainerState containerState, java.lang.String nodeHttpAddress, ExecutionType executionType)
@Public @Unstable public abstract ContainerId getContainerId()
ContainerId of the container.ContainerId of the container.@Public @Unstable public abstract void setContainerId(ContainerId containerId)
@Public @Unstable public abstract Resource getAllocatedResource()
Resource of the container.Resource of the container.@Public @Unstable public abstract void setAllocatedResource(Resource resource)
@Public @Unstable public abstract NodeId getAssignedNode()
NodeId where container is running.NodeId where container is running.@Public @Unstable public abstract void setAssignedNode(NodeId nodeId)
@Public @Unstable public abstract Priority getPriority()
Priority of the container.Priority of the container.@Public @Unstable public abstract void setPriority(Priority priority)
@Public @Unstable public abstract long getCreationTime()
@Public @Unstable public abstract void setCreationTime(long creationTime)
@Public @Unstable public abstract long getFinishTime()
@Public @Unstable public abstract void setFinishTime(long finishTime)
@Public @Unstable public abstract java.lang.String getDiagnosticsInfo()
@Public @Unstable public abstract void setDiagnosticsInfo(java.lang.String diagnosticsInfo)
@Public @Unstable public abstract java.lang.String getLogUrl()
@Public @Unstable public abstract void setLogUrl(java.lang.String logUrl)
@Public @Unstable public abstract ContainerState getContainerState()
ContainerState of the container.ContainerState of the container.@Public @Unstable public abstract void setContainerState(ContainerState containerState)
@Public @Unstable public abstract int getContainerExitStatus()
exit status of the container.exit status of the container.@Public @Unstable public abstract void setContainerExitStatus(int containerExitStatus)
@Public @Unstable public abstract java.lang.String getExposedPorts()
@Private @Unstable public abstract void setExposedPorts(java.util.Map<java.lang.String,java.util.List<java.util.Map<java.lang.String,java.lang.String>>> ports)
@Public @Unstable public abstract java.lang.String getNodeHttpAddress()
@Private @Unstable public abstract void setNodeHttpAddress(java.lang.String nodeHttpAddress)
@Public @Unstable public abstract ExecutionType getExecutionType()
@Private @Unstable public abstract void setExecutionType(ExecutionType executionType)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.