@InterfaceAudience.Public @InterfaceStability.Unstable public abstract class ContainerReport extends Object
ContainerReport
is a report of an container.
It includes details such as:
ContainerId
of the container.ContainerState
of the container.Constructor and Description |
---|
ContainerReport() |
Modifier and Type | Method and 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 String |
getDiagnosticsInfo()
Get the DiagnosticsInfo of the container.
|
abstract long |
getFinishTime()
Get the Finish time of the container.
|
abstract String |
getLogUrl()
Get the LogURL of the container.
|
abstract String |
getNodeHttpAddress()
Get the Node Http address of the container
|
abstract Priority |
getPriority()
Get the allocated
Priority of the container. |
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(String diagnosticsInfo) |
abstract void |
setFinishTime(long finishTime) |
abstract void |
setLogUrl(String logUrl) |
abstract void |
setPriority(Priority priority) |
public ContainerReport()
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract ContainerId getContainerId()
ContainerId
of the container.ContainerId
of the container.@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setContainerId(ContainerId containerId)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract Resource getAllocatedResource()
Resource
of the container.Resource
of the container.@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setAllocatedResource(Resource resource)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract NodeId getAssignedNode()
NodeId
where container is running.NodeId
where container is running.@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setAssignedNode(NodeId nodeId)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract Priority getPriority()
Priority
of the container.Priority
of the container.@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setPriority(Priority priority)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract long getCreationTime()
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setCreationTime(long creationTime)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract long getFinishTime()
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setFinishTime(long finishTime)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract String getDiagnosticsInfo()
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setDiagnosticsInfo(String diagnosticsInfo)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract String getLogUrl()
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setLogUrl(String logUrl)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract ContainerState getContainerState()
ContainerState
of the container.ContainerState
of the container.@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setContainerState(ContainerState containerState)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract int getContainerExitStatus()
exit status
of the container.exit status
of the container.@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setContainerExitStatus(int containerExitStatus)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract String getNodeHttpAddress()
Copyright © 2015 Apache Software Foundation. All Rights Reserved.