|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.yarn.server.api.protocolrecords.NMContainerStatus
org.apache.hadoop.yarn.server.api.protocolrecords.impl.pb.NMContainerStatusPBImpl
public class NMContainerStatusPBImpl
| Constructor Summary | |
|---|---|
NMContainerStatusPBImpl()
|
|
NMContainerStatusPBImpl(YarnServerCommonServiceProtos.NMContainerStatusProto proto)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
|
org.apache.hadoop.yarn.api.records.Resource |
getAllocatedResource()
Get the allocated Resource of the container. |
int |
getContainerExitStatus()
Get the final exit status of the container. |
org.apache.hadoop.yarn.api.records.ContainerId |
getContainerId()
Get the ContainerId of the container. |
org.apache.hadoop.yarn.api.records.ContainerState |
getContainerState()
|
long |
getCreationTime()
Get the time when the container is created |
String |
getDiagnostics()
Get the DiagnosticsInfo of the container. |
org.apache.hadoop.yarn.api.records.Priority |
getPriority()
Get the Priority of the request. |
YarnServerCommonServiceProtos.NMContainerStatusProto |
getProto()
|
int |
hashCode()
|
void |
setAllocatedResource(org.apache.hadoop.yarn.api.records.Resource resource)
|
void |
setContainerExitStatus(int containerExitStatus)
|
void |
setContainerId(org.apache.hadoop.yarn.api.records.ContainerId containerId)
|
void |
setContainerState(org.apache.hadoop.yarn.api.records.ContainerState containerState)
|
void |
setCreationTime(long creationTime)
|
void |
setDiagnostics(String diagnosticsInfo)
|
void |
setPriority(org.apache.hadoop.yarn.api.records.Priority priority)
|
String |
toString()
|
| Methods inherited from class org.apache.hadoop.yarn.server.api.protocolrecords.NMContainerStatus |
|---|
newInstance |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NMContainerStatusPBImpl()
public NMContainerStatusPBImpl(YarnServerCommonServiceProtos.NMContainerStatusProto proto)
| Method Detail |
|---|
public YarnServerCommonServiceProtos.NMContainerStatusProto getProto()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object other)
equals in class Objectpublic String toString()
toString in class Objectpublic org.apache.hadoop.yarn.api.records.Resource getAllocatedResource()
NMContainerStatusResource of the container.
getAllocatedResource in class NMContainerStatusResource of the container.public org.apache.hadoop.yarn.api.records.ContainerId getContainerId()
NMContainerStatusContainerId of the container.
getContainerId in class NMContainerStatusContainerId of the container.public String getDiagnostics()
NMContainerStatus
getDiagnostics in class NMContainerStatuspublic org.apache.hadoop.yarn.api.records.ContainerState getContainerState()
getContainerState in class NMContainerStatuspublic void setAllocatedResource(org.apache.hadoop.yarn.api.records.Resource resource)
setAllocatedResource in class NMContainerStatuspublic void setContainerId(org.apache.hadoop.yarn.api.records.ContainerId containerId)
setContainerId in class NMContainerStatuspublic void setDiagnostics(String diagnosticsInfo)
setDiagnostics in class NMContainerStatuspublic void setContainerState(org.apache.hadoop.yarn.api.records.ContainerState containerState)
setContainerState in class NMContainerStatuspublic int getContainerExitStatus()
NMContainerStatusexit status of the container.
getContainerExitStatus in class NMContainerStatusexit status of the container.public void setContainerExitStatus(int containerExitStatus)
setContainerExitStatus in class NMContainerStatuspublic org.apache.hadoop.yarn.api.records.Priority getPriority()
NMContainerStatusPriority of the request.
getPriority in class NMContainerStatusPriority of the requestpublic void setPriority(org.apache.hadoop.yarn.api.records.Priority priority)
setPriority in class NMContainerStatuspublic long getCreationTime()
NMContainerStatus
getCreationTime in class NMContainerStatuspublic void setCreationTime(long creationTime)
setCreationTime in class NMContainerStatus
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||