org.apache.hadoop.yarn.server.applicationhistoryservice.records.impl.pb
Class ContainerStartDataPBImpl

java.lang.Object
  extended by org.apache.hadoop.yarn.server.applicationhistoryservice.records.ContainerStartData
      extended by org.apache.hadoop.yarn.server.applicationhistoryservice.records.impl.pb.ContainerStartDataPBImpl

public class ContainerStartDataPBImpl
extends ContainerStartData


Constructor Summary
ContainerStartDataPBImpl()
           
ContainerStartDataPBImpl(org.apache.hadoop.yarn.proto.ApplicationHistoryServerProtos.ContainerStartDataProto proto)
           
 
Method Summary
 boolean equals(Object other)
           
 org.apache.hadoop.yarn.api.records.Resource getAllocatedResource()
           
 org.apache.hadoop.yarn.api.records.NodeId getAssignedNode()
           
 org.apache.hadoop.yarn.api.records.ContainerId getContainerId()
           
 org.apache.hadoop.yarn.api.records.Priority getPriority()
           
 org.apache.hadoop.yarn.proto.ApplicationHistoryServerProtos.ContainerStartDataProto 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 setContainerId(org.apache.hadoop.yarn.api.records.ContainerId containerId)
           
 void setPriority(org.apache.hadoop.yarn.api.records.Priority priority)
           
 void setStartTime(long startTime)
           
 String toString()
           
 
Methods inherited from class org.apache.hadoop.yarn.server.applicationhistoryservice.records.ContainerStartData
newInstance
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContainerStartDataPBImpl

public ContainerStartDataPBImpl()

ContainerStartDataPBImpl

public ContainerStartDataPBImpl(org.apache.hadoop.yarn.proto.ApplicationHistoryServerProtos.ContainerStartDataProto proto)
Method Detail

getContainerId

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

setContainerId

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

getAllocatedResource

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

setAllocatedResource

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

getAssignedNode

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

setAssignedNode

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

getPriority

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

setPriority

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

getStartTime

public long getStartTime()
Specified by:
getStartTime in class ContainerStartData

setStartTime

public void setStartTime(long startTime)
Specified by:
setStartTime in class ContainerStartData

getProto

public org.apache.hadoop.yarn.proto.ApplicationHistoryServerProtos.ContainerStartDataProto getProto()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014 Apache Software Foundation. All Rights Reserved.