org.apache.hadoop.yarn.server.api.records.impl.pb
Class NodeStatusPBImpl
java.lang.Object
org.apache.hadoop.yarn.api.records.ProtoBase<YarnServerCommonProtos.NodeStatusProto>
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
| Methods inherited from class org.apache.hadoop.yarn.api.records.ProtoBase |
convertFromProtoFormat, convertToProtoFormat, equals, hashCode, toString |
NodeStatusPBImpl
public NodeStatusPBImpl()
NodeStatusPBImpl
public NodeStatusPBImpl(YarnServerCommonProtos.NodeStatusProto proto)
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.