|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.yarn.api.records.ProtoBase<YarnProtos.NodeReportProto>
org.apache.hadoop.yarn.api.records.impl.pb.NodeReportPBImpl
public class NodeReportPBImpl
| Constructor Summary | |
|---|---|
NodeReportPBImpl()
|
|
NodeReportPBImpl(YarnProtos.NodeReportProto proto)
|
|
| Method Summary | |
|---|---|
Resource |
getCapability()
Get the total Resource on the node. |
String |
getHttpAddress()
Get the http address of the node. |
NodeHealthStatus |
getNodeHealthStatus()
Get the NodeHealthStatus of the node. |
NodeId |
getNodeId()
Get the NodeId of the node. |
int |
getNumContainers()
Get the number of running containers on the node. |
YarnProtos.NodeReportProto |
getProto()
|
String |
getRackName()
Get the rack name for the node. |
Resource |
getUsed()
Get used Resource on the node. |
void |
setCapability(Resource capability)
|
void |
setHttpAddress(String httpAddress)
|
void |
setNodeHealthStatus(NodeHealthStatus healthStatus)
|
void |
setNodeId(NodeId nodeId)
|
void |
setNumContainers(int numContainers)
|
void |
setRackName(String rackName)
|
void |
setUsed(Resource used)
|
| Methods inherited from class org.apache.hadoop.yarn.api.records.ProtoBase |
|---|
convertFromProtoFormat, convertToProtoFormat, equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NodeReportPBImpl()
public NodeReportPBImpl(YarnProtos.NodeReportProto proto)
| Method Detail |
|---|
public Resource getCapability()
NodeReportResource on the node.
getCapability in interface NodeReportResource on the nodepublic NodeHealthStatus getNodeHealthStatus()
NodeReportNodeHealthStatus of the node.
getNodeHealthStatus in interface NodeReportNodeHealthStatus of the nodepublic String getHttpAddress()
NodeReport
getHttpAddress in interface NodeReportpublic int getNumContainers()
NodeReport
getNumContainers in interface NodeReportpublic String getRackName()
NodeReport
getRackName in interface NodeReportpublic Resource getUsed()
NodeReportResource on the node.
getUsed in interface NodeReportResource on the nodepublic NodeId getNodeId()
NodeReportNodeId of the node.
getNodeId in interface NodeReportNodeId of the nodepublic void setNodeId(NodeId nodeId)
setNodeId in interface NodeReportpublic void setCapability(Resource capability)
setCapability in interface NodeReportpublic void setNodeHealthStatus(NodeHealthStatus healthStatus)
setNodeHealthStatus in interface NodeReportpublic void setHttpAddress(String httpAddress)
setHttpAddress in interface NodeReportpublic void setNumContainers(int numContainers)
setNumContainers in interface NodeReportpublic void setRackName(String rackName)
setRackName in interface NodeReportpublic void setUsed(Resource used)
setUsed in interface NodeReportpublic YarnProtos.NodeReportProto getProto()
getProto in class ProtoBase<YarnProtos.NodeReportProto>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||