@InterfaceAudience.Private @InterfaceStability.Unstable public class NodeReportPBImpl extends NodeReport
| Constructor and Description |
|---|
NodeReportPBImpl() |
NodeReportPBImpl(YarnProtos.NodeReportProto proto) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
Resource |
getCapability() |
String |
getHealthReport() |
String |
getHttpAddress() |
long |
getLastHealthReportTime() |
NodeId |
getNodeId() |
Set<String> |
getNodeLabels() |
NodeState |
getNodeState() |
int |
getNumContainers() |
YarnProtos.NodeReportProto |
getProto() |
String |
getRackName() |
Resource |
getUsed() |
int |
hashCode() |
void |
setCapability(Resource capability) |
void |
setHealthReport(String healthReport) |
void |
setHttpAddress(String httpAddress) |
void |
setLastHealthReportTime(long lastHealthReportTime) |
void |
setNodeId(NodeId nodeId) |
void |
setNodeLabels(Set<String> nodeLabels) |
void |
setNodeState(NodeState nodeState) |
void |
setNumContainers(int numContainers) |
void |
setRackName(String rackName) |
void |
setUsed(Resource used) |
String |
toString() |
newInstance, newInstancepublic NodeReportPBImpl()
public NodeReportPBImpl(YarnProtos.NodeReportProto proto)
public Resource getCapability()
getCapability in class NodeReportpublic String getHealthReport()
getHealthReport in class NodeReportpublic void setHealthReport(String healthReport)
setHealthReport in class NodeReportpublic long getLastHealthReportTime()
getLastHealthReportTime in class NodeReportpublic void setLastHealthReportTime(long lastHealthReportTime)
setLastHealthReportTime in class NodeReportpublic String getHttpAddress()
getHttpAddress in class NodeReportpublic int getNumContainers()
getNumContainers in class NodeReportpublic String getRackName()
getRackName in class NodeReportpublic Resource getUsed()
getUsed in class NodeReportpublic NodeId getNodeId()
getNodeId in class NodeReportpublic void setNodeId(NodeId nodeId)
setNodeId in class NodeReportpublic NodeState getNodeState()
getNodeState in class NodeReportpublic void setNodeState(NodeState nodeState)
setNodeState in class NodeReportpublic void setCapability(Resource capability)
setCapability in class NodeReportpublic void setHttpAddress(String httpAddress)
setHttpAddress in class NodeReportpublic void setNumContainers(int numContainers)
setNumContainers in class NodeReportpublic void setRackName(String rackName)
setRackName in class NodeReportpublic void setUsed(Resource used)
setUsed in class NodeReportpublic YarnProtos.NodeReportProto getProto()
public Set<String> getNodeLabels()
getNodeLabels in class NodeReportpublic void setNodeLabels(Set<String> nodeLabels)
setNodeLabels in class NodeReportCopyright © 2018 CERN. All Rights Reserved.