public class NodeStatusPBImpl extends ProtoBase<YarnServerCommonProtos.NodeStatusProto> implements NodeStatus
| Constructor and Description |
|---|
NodeStatusPBImpl() |
NodeStatusPBImpl(YarnServerCommonProtos.NodeStatusProto proto) |
| Modifier and Type | Method and Description |
|---|---|
List<ContainerStatus> |
getContainersStatuses() |
List<ApplicationId> |
getKeepAliveApplications() |
NodeHealthStatus |
getNodeHealthStatus() |
NodeId |
getNodeId() |
YarnServerCommonProtos.NodeStatusProto |
getProto() |
int |
getResponseId() |
void |
setContainersStatuses(List<ContainerStatus> containers) |
void |
setKeepAliveApplications(List<ApplicationId> appIds) |
void |
setNodeHealthStatus(NodeHealthStatus healthStatus) |
void |
setNodeId(NodeId nodeId) |
void |
setResponseId(int responseId) |
convertFromProtoFormat, convertToProtoFormat, equals, hashCode, toStringpublic NodeStatusPBImpl()
public NodeStatusPBImpl(YarnServerCommonProtos.NodeStatusProto proto)
public YarnServerCommonProtos.NodeStatusProto getProto()
getProto in class ProtoBase<YarnServerCommonProtos.NodeStatusProto>public int getResponseId()
getResponseId in interface NodeStatuspublic void setResponseId(int responseId)
setResponseId in interface NodeStatuspublic NodeId getNodeId()
getNodeId in interface NodeStatuspublic void setNodeId(NodeId nodeId)
setNodeId in interface NodeStatuspublic List<ContainerStatus> getContainersStatuses()
getContainersStatuses in interface NodeStatuspublic void setContainersStatuses(List<ContainerStatus> containers)
setContainersStatuses in interface NodeStatuspublic List<ApplicationId> getKeepAliveApplications()
getKeepAliveApplications in interface NodeStatuspublic void setKeepAliveApplications(List<ApplicationId> appIds)
setKeepAliveApplications in interface NodeStatuspublic NodeHealthStatus getNodeHealthStatus()
getNodeHealthStatus in interface NodeStatuspublic void setNodeHealthStatus(NodeHealthStatus healthStatus)
setNodeHealthStatus in interface NodeStatusCopyright © 2013 Apache Software Foundation. All rights reserved.