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, toString
public NodeStatusPBImpl()
public NodeStatusPBImpl(YarnServerCommonProtos.NodeStatusProto proto)
public YarnServerCommonProtos.NodeStatusProto getProto()
getProto
in class ProtoBase<YarnServerCommonProtos.NodeStatusProto>
public int getResponseId()
getResponseId
in interface NodeStatus
public void setResponseId(int responseId)
setResponseId
in interface NodeStatus
public NodeId getNodeId()
getNodeId
in interface NodeStatus
public void setNodeId(NodeId nodeId)
setNodeId
in interface NodeStatus
public List<ContainerStatus> getContainersStatuses()
getContainersStatuses
in interface NodeStatus
public void setContainersStatuses(List<ContainerStatus> containers)
setContainersStatuses
in interface NodeStatus
public List<ApplicationId> getKeepAliveApplications()
getKeepAliveApplications
in interface NodeStatus
public void setKeepAliveApplications(List<ApplicationId> appIds)
setKeepAliveApplications
in interface NodeStatus
public NodeHealthStatus getNodeHealthStatus()
getNodeHealthStatus
in interface NodeStatus
public void setNodeHealthStatus(NodeHealthStatus healthStatus)
setNodeHealthStatus
in interface NodeStatus
Copyright © 2013 Apache Software Foundation. All rights reserved.