org.apache.hadoop.yarn.api.records.impl.pb
Class ContainerReportPBImpl

java.lang.Object
  extended by org.apache.hadoop.yarn.api.records.ContainerReport
      extended by org.apache.hadoop.yarn.api.records.impl.pb.ContainerReportPBImpl

public class ContainerReportPBImpl
extends org.apache.hadoop.yarn.api.records.ContainerReport


Constructor Summary
ContainerReportPBImpl()
           
ContainerReportPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.ContainerReportProto proto)
           
 
Method Summary
 boolean equals(Object other)
           
 org.apache.hadoop.yarn.api.records.Resource getAllocatedResource()
           
 org.apache.hadoop.yarn.api.records.NodeId getAssignedNode()
           
 int getContainerExitStatus()
           
 org.apache.hadoop.yarn.api.records.ContainerId getContainerId()
           
 org.apache.hadoop.yarn.api.records.ContainerState getContainerState()
           
 String getDiagnosticsInfo()
           
 long getFinishTime()
           
 String getLogUrl()
           
 org.apache.hadoop.yarn.api.records.Priority getPriority()
           
 org.apache.hadoop.yarn.proto.YarnProtos.ContainerReportProto getProto()
           
 long getStartTime()
           
 int hashCode()
           
 void setAllocatedResource(org.apache.hadoop.yarn.api.records.Resource resource)
           
 void setAssignedNode(org.apache.hadoop.yarn.api.records.NodeId nodeId)
           
 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 setDiagnosticsInfo(String diagnosticsInfo)
           
 void setFinishTime(long finishTime)
           
 void setLogUrl(String logUrl)
           
 void setPriority(org.apache.hadoop.yarn.api.records.Priority priority)
           
 void setStartTime(long startTime)
           
 String toString()
           
 
Methods inherited from class org.apache.hadoop.yarn.api.records.ContainerReport
newInstance
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContainerReportPBImpl

public ContainerReportPBImpl()

ContainerReportPBImpl

public ContainerReportPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.ContainerReportProto proto)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getAllocatedResource

public org.apache.hadoop.yarn.api.records.Resource getAllocatedResource()
Specified by:
getAllocatedResource in class org.apache.hadoop.yarn.api.records.ContainerReport

getAssignedNode

public org.apache.hadoop.yarn.api.records.NodeId getAssignedNode()
Specified by:
getAssignedNode in class org.apache.hadoop.yarn.api.records.ContainerReport

getContainerId

public org.apache.hadoop.yarn.api.records.ContainerId getContainerId()
Specified by:
getContainerId in class org.apache.hadoop.yarn.api.records.ContainerReport

getDiagnosticsInfo

public String getDiagnosticsInfo()
Specified by:
getDiagnosticsInfo in class org.apache.hadoop.yarn.api.records.ContainerReport

getContainerState

public org.apache.hadoop.yarn.api.records.ContainerState getContainerState()
Specified by:
getContainerState in class org.apache.hadoop.yarn.api.records.ContainerReport

getFinishTime

public long getFinishTime()
Specified by:
getFinishTime in class org.apache.hadoop.yarn.api.records.ContainerReport

getLogUrl

public String getLogUrl()
Specified by:
getLogUrl in class org.apache.hadoop.yarn.api.records.ContainerReport

getPriority

public org.apache.hadoop.yarn.api.records.Priority getPriority()
Specified by:
getPriority in class org.apache.hadoop.yarn.api.records.ContainerReport

getStartTime

public long getStartTime()
Specified by:
getStartTime in class org.apache.hadoop.yarn.api.records.ContainerReport

setAllocatedResource

public void setAllocatedResource(org.apache.hadoop.yarn.api.records.Resource resource)
Specified by:
setAllocatedResource in class org.apache.hadoop.yarn.api.records.ContainerReport

setAssignedNode

public void setAssignedNode(org.apache.hadoop.yarn.api.records.NodeId nodeId)
Specified by:
setAssignedNode in class org.apache.hadoop.yarn.api.records.ContainerReport

setContainerId

public void setContainerId(org.apache.hadoop.yarn.api.records.ContainerId containerId)
Specified by:
setContainerId in class org.apache.hadoop.yarn.api.records.ContainerReport

setDiagnosticsInfo

public void setDiagnosticsInfo(String diagnosticsInfo)
Specified by:
setDiagnosticsInfo in class org.apache.hadoop.yarn.api.records.ContainerReport

setContainerState

public void setContainerState(org.apache.hadoop.yarn.api.records.ContainerState containerState)
Specified by:
setContainerState in class org.apache.hadoop.yarn.api.records.ContainerReport

getContainerExitStatus

public int getContainerExitStatus()
Specified by:
getContainerExitStatus in class org.apache.hadoop.yarn.api.records.ContainerReport

setContainerExitStatus

public void setContainerExitStatus(int containerExitStatus)
Specified by:
setContainerExitStatus in class org.apache.hadoop.yarn.api.records.ContainerReport

setFinishTime

public void setFinishTime(long finishTime)
Specified by:
setFinishTime in class org.apache.hadoop.yarn.api.records.ContainerReport

setLogUrl

public void setLogUrl(String logUrl)
Specified by:
setLogUrl in class org.apache.hadoop.yarn.api.records.ContainerReport

setPriority

public void setPriority(org.apache.hadoop.yarn.api.records.Priority priority)
Specified by:
setPriority in class org.apache.hadoop.yarn.api.records.ContainerReport

setStartTime

public void setStartTime(long startTime)
Specified by:
setStartTime in class org.apache.hadoop.yarn.api.records.ContainerReport

getProto

public org.apache.hadoop.yarn.proto.YarnProtos.ContainerReportProto getProto()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object


Copyright © 2014 Apache Software Foundation. All Rights Reserved.