public class NodeHealthStatusPBImpl extends NodeHealthStatus
| Constructor | Description |
|---|---|
NodeHealthStatusPBImpl() |
|
NodeHealthStatusPBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonProtos.NodeHealthStatusProto proto) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object other) |
|
java.lang.String |
getHealthReport() |
Get the diagnostic health report of the node.
|
boolean |
getIsNodeHealthy() |
Is the node healthy?
|
long |
getLastHealthReportTime() |
Get the last timestamp at which the health report was received.
|
org.apache.hadoop.yarn.proto.YarnServerCommonProtos.NodeHealthStatusProto |
getProto() |
|
int |
hashCode() |
|
void |
setHealthReport(java.lang.String healthReport) |
|
void |
setIsNodeHealthy(boolean isNodeHealthy) |
|
void |
setLastHealthReportTime(long lastHealthReport) |
|
java.lang.String |
toString() |
newInstancepublic NodeHealthStatusPBImpl()
public NodeHealthStatusPBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonProtos.NodeHealthStatusProto proto)
public org.apache.hadoop.yarn.proto.YarnServerCommonProtos.NodeHealthStatusProto getProto()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean getIsNodeHealthy()
NodeHealthStatusgetIsNodeHealthy in class NodeHealthStatustrue if the node is healthy, else falsepublic void setIsNodeHealthy(boolean isNodeHealthy)
setIsNodeHealthy in class NodeHealthStatuspublic java.lang.String getHealthReport()
NodeHealthStatusgetHealthReport in class NodeHealthStatuspublic void setHealthReport(java.lang.String healthReport)
setHealthReport in class NodeHealthStatuspublic long getLastHealthReportTime()
NodeHealthStatusgetLastHealthReportTime in class NodeHealthStatuspublic void setLastHealthReportTime(long lastHealthReport)
setLastHealthReportTime in class NodeHealthStatusCopyright © 2008–2025 Apache Software Foundation. All rights reserved.