org.apache.hadoop.yarn.server.applicationhistoryservice.records.impl.pb
Class ContainerStartDataPBImpl
java.lang.Object
org.apache.hadoop.yarn.server.applicationhistoryservice.records.ContainerStartData
org.apache.hadoop.yarn.server.applicationhistoryservice.records.impl.pb.ContainerStartDataPBImpl
public class ContainerStartDataPBImpl
- extends ContainerStartData
ContainerStartDataPBImpl
public ContainerStartDataPBImpl()
ContainerStartDataPBImpl
public ContainerStartDataPBImpl(org.apache.hadoop.yarn.proto.ApplicationHistoryServerProtos.ContainerStartDataProto proto)
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.