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

java.lang.Object
  extended by org.apache.hadoop.yarn.api.records.ProtoBase<YarnServerCommonProtos.NodeStatusProto>
      extended by org.apache.hadoop.yarn.server.api.records.impl.pb.NodeStatusPBImpl
All Implemented Interfaces:
NodeStatus

public class NodeStatusPBImpl
extends org.apache.hadoop.yarn.api.records.ProtoBase<YarnServerCommonProtos.NodeStatusProto>
implements NodeStatus


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

Constructor Detail

NodeStatusPBImpl

public NodeStatusPBImpl()

NodeStatusPBImpl

public NodeStatusPBImpl(YarnServerCommonProtos.NodeStatusProto proto)
Method Detail

getProto

public YarnServerCommonProtos.NodeStatusProto getProto()
Specified by:
getProto in class org.apache.hadoop.yarn.api.records.ProtoBase<YarnServerCommonProtos.NodeStatusProto>

getResponseId

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

setResponseId

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

getNodeId

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

setNodeId

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

getContainersStatuses

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

setContainersStatuses

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

getKeepAliveApplications

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

setKeepAliveApplications

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

getNodeHealthStatus

public org.apache.hadoop.yarn.api.records.NodeHealthStatus getNodeHealthStatus()
Specified by:
getNodeHealthStatus in interface NodeStatus

setNodeHealthStatus

public void setNodeHealthStatus(org.apache.hadoop.yarn.api.records.NodeHealthStatus healthStatus)
Specified by:
setNodeHealthStatus in interface NodeStatus


Copyright © 2013 Apache Software Foundation. All Rights Reserved.