org.apache.hadoop.yarn.server.api.records.impl.pb
Class NodeStatusPBImpl

java.lang.Object
  extended by org.apache.hadoop.yarn.server.api.records.NodeStatus
      extended by org.apache.hadoop.yarn.server.api.records.impl.pb.NodeStatusPBImpl

public class NodeStatusPBImpl
extends NodeStatus


Constructor Summary
NodeStatusPBImpl()
           
NodeStatusPBImpl(YarnServerCommonProtos.NodeStatusProto proto)
           
 
Method Summary
 boolean equals(Object other)
           
 List<org.apache.hadoop.yarn.api.records.ContainerStatus> getContainersStatuses()
           
 List<org.apache.hadoop.yarn.api.records.ApplicationId> getKeepAliveApplications()
           
 NodeHealthStatus getNodeHealthStatus()
           
 org.apache.hadoop.yarn.api.records.NodeId getNodeId()
           
 YarnServerCommonProtos.NodeStatusProto getProto()
           
 int getResponseId()
           
 int hashCode()
           
 void setContainersStatuses(List<org.apache.hadoop.yarn.api.records.ContainerStatus> containers)
           
 void setKeepAliveApplications(List<org.apache.hadoop.yarn.api.records.ApplicationId> appIds)
           
 void setNodeHealthStatus(NodeHealthStatus healthStatus)
           
 void setNodeId(org.apache.hadoop.yarn.api.records.NodeId nodeId)
           
 void setResponseId(int responseId)
           
 
Methods inherited from class org.apache.hadoop.yarn.server.api.records.NodeStatus
newInstance
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeStatusPBImpl

public NodeStatusPBImpl()

NodeStatusPBImpl

public NodeStatusPBImpl(YarnServerCommonProtos.NodeStatusProto proto)
Method Detail

getProto

public YarnServerCommonProtos.NodeStatusProto getProto()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

getResponseId

public int getResponseId()
Specified by:
getResponseId in class NodeStatus

setResponseId

public void setResponseId(int responseId)
Specified by:
setResponseId in class NodeStatus

getNodeId

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

setNodeId

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

getContainersStatuses

public List<org.apache.hadoop.yarn.api.records.ContainerStatus> getContainersStatuses()
Specified by:
getContainersStatuses in class NodeStatus

setContainersStatuses

public void setContainersStatuses(List<org.apache.hadoop.yarn.api.records.ContainerStatus> containers)
Specified by:
setContainersStatuses in class NodeStatus

getKeepAliveApplications

public List<org.apache.hadoop.yarn.api.records.ApplicationId> getKeepAliveApplications()
Specified by:
getKeepAliveApplications in class NodeStatus

setKeepAliveApplications

public void setKeepAliveApplications(List<org.apache.hadoop.yarn.api.records.ApplicationId> appIds)
Specified by:
setKeepAliveApplications in class NodeStatus

getNodeHealthStatus

public NodeHealthStatus getNodeHealthStatus()
Specified by:
getNodeHealthStatus in class NodeStatus

setNodeHealthStatus

public void setNodeHealthStatus(NodeHealthStatus healthStatus)
Specified by:
setNodeHealthStatus in class NodeStatus


Copyright © 2014 Apache Software Foundation. All Rights Reserved.