@InterfaceAudience.Private
@InterfaceStability.Unstable
public class NodeReportPBImpl
extends org.apache.hadoop.yarn.api.records.NodeReport
Constructor and Description |
---|
NodeReportPBImpl() |
NodeReportPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.NodeReportProto proto) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
org.apache.hadoop.yarn.api.records.ResourceUtilization |
getAggregatedContainersUtilization() |
org.apache.hadoop.yarn.api.records.Resource |
getCapability() |
String |
getHealthReport() |
String |
getHttpAddress() |
long |
getLastHealthReportTime() |
org.apache.hadoop.yarn.api.records.NodeId |
getNodeId() |
Set<String> |
getNodeLabels() |
org.apache.hadoop.yarn.api.records.NodeState |
getNodeState() |
org.apache.hadoop.yarn.api.records.ResourceUtilization |
getNodeUtilization() |
int |
getNumContainers() |
org.apache.hadoop.yarn.proto.YarnProtos.NodeReportProto |
getProto() |
String |
getRackName() |
org.apache.hadoop.yarn.api.records.Resource |
getUsed() |
int |
hashCode() |
void |
setAggregatedContainersUtilization(org.apache.hadoop.yarn.api.records.ResourceUtilization containersResourceUtilization) |
void |
setCapability(org.apache.hadoop.yarn.api.records.Resource capability) |
void |
setHealthReport(String healthReport) |
void |
setHttpAddress(String httpAddress) |
void |
setLastHealthReportTime(long lastHealthReportTime) |
void |
setNodeId(org.apache.hadoop.yarn.api.records.NodeId nodeId) |
void |
setNodeLabels(Set<String> nodeLabels) |
void |
setNodeState(org.apache.hadoop.yarn.api.records.NodeState nodeState) |
void |
setNodeUtilization(org.apache.hadoop.yarn.api.records.ResourceUtilization nodeResourceUtilization) |
void |
setNumContainers(int numContainers) |
void |
setRackName(String rackName) |
void |
setUsed(org.apache.hadoop.yarn.api.records.Resource used) |
String |
toString() |
public NodeReportPBImpl()
public NodeReportPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.NodeReportProto proto)
public org.apache.hadoop.yarn.api.records.Resource getCapability()
getCapability
in class org.apache.hadoop.yarn.api.records.NodeReport
public String getHealthReport()
getHealthReport
in class org.apache.hadoop.yarn.api.records.NodeReport
public void setHealthReport(String healthReport)
setHealthReport
in class org.apache.hadoop.yarn.api.records.NodeReport
public long getLastHealthReportTime()
getLastHealthReportTime
in class org.apache.hadoop.yarn.api.records.NodeReport
public void setLastHealthReportTime(long lastHealthReportTime)
setLastHealthReportTime
in class org.apache.hadoop.yarn.api.records.NodeReport
public String getHttpAddress()
getHttpAddress
in class org.apache.hadoop.yarn.api.records.NodeReport
public int getNumContainers()
getNumContainers
in class org.apache.hadoop.yarn.api.records.NodeReport
public String getRackName()
getRackName
in class org.apache.hadoop.yarn.api.records.NodeReport
public org.apache.hadoop.yarn.api.records.Resource getUsed()
getUsed
in class org.apache.hadoop.yarn.api.records.NodeReport
public org.apache.hadoop.yarn.api.records.NodeId getNodeId()
getNodeId
in class org.apache.hadoop.yarn.api.records.NodeReport
public void setNodeId(org.apache.hadoop.yarn.api.records.NodeId nodeId)
setNodeId
in class org.apache.hadoop.yarn.api.records.NodeReport
public org.apache.hadoop.yarn.api.records.NodeState getNodeState()
getNodeState
in class org.apache.hadoop.yarn.api.records.NodeReport
public void setNodeState(org.apache.hadoop.yarn.api.records.NodeState nodeState)
setNodeState
in class org.apache.hadoop.yarn.api.records.NodeReport
public void setCapability(org.apache.hadoop.yarn.api.records.Resource capability)
setCapability
in class org.apache.hadoop.yarn.api.records.NodeReport
public void setHttpAddress(String httpAddress)
setHttpAddress
in class org.apache.hadoop.yarn.api.records.NodeReport
public void setNumContainers(int numContainers)
setNumContainers
in class org.apache.hadoop.yarn.api.records.NodeReport
public void setRackName(String rackName)
setRackName
in class org.apache.hadoop.yarn.api.records.NodeReport
public void setUsed(org.apache.hadoop.yarn.api.records.Resource used)
setUsed
in class org.apache.hadoop.yarn.api.records.NodeReport
public org.apache.hadoop.yarn.proto.YarnProtos.NodeReportProto getProto()
public Set<String> getNodeLabels()
getNodeLabels
in class org.apache.hadoop.yarn.api.records.NodeReport
public void setNodeLabels(Set<String> nodeLabels)
setNodeLabels
in class org.apache.hadoop.yarn.api.records.NodeReport
public org.apache.hadoop.yarn.api.records.ResourceUtilization getAggregatedContainersUtilization()
getAggregatedContainersUtilization
in class org.apache.hadoop.yarn.api.records.NodeReport
public void setAggregatedContainersUtilization(org.apache.hadoop.yarn.api.records.ResourceUtilization containersResourceUtilization)
setAggregatedContainersUtilization
in class org.apache.hadoop.yarn.api.records.NodeReport
public org.apache.hadoop.yarn.api.records.ResourceUtilization getNodeUtilization()
getNodeUtilization
in class org.apache.hadoop.yarn.api.records.NodeReport
public void setNodeUtilization(org.apache.hadoop.yarn.api.records.ResourceUtilization nodeResourceUtilization)
setNodeUtilization
in class org.apache.hadoop.yarn.api.records.NodeReport
Copyright © 2017 Apache Software Foundation. All Rights Reserved.