@InterfaceAudience.Public @InterfaceStability.Stable public abstract class NodeHealthStatus extends Object
NodeHealthStatus is a summary of the health status of the node.
 It includes information such as:
NodeReport, 
ApplicationClientProtocol.getClusterNodes(org.apache.hadoop.yarn.api.protocolrecords.GetClusterNodesRequest)| Constructor and Description | 
|---|
| NodeHealthStatus() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract String | getHealthReport()Get the diagnostic health report of the node. | 
| abstract boolean | getIsNodeHealthy()Is the node healthy? | 
| abstract long | getLastHealthReportTime()Get the last timestamp at which the health report was received. | 
| static NodeHealthStatus | newInstance(boolean isNodeHealthy,
           String healthReport,
           long lastHealthReport) | 
| abstract void | setHealthReport(String healthReport) | 
| abstract void | setIsNodeHealthy(boolean isNodeHealthy) | 
| abstract void | setLastHealthReportTime(long lastHealthReport) | 
@InterfaceAudience.Private public static NodeHealthStatus newInstance(boolean isNodeHealthy, String healthReport, long lastHealthReport)
@InterfaceAudience.Public @InterfaceStability.Stable public abstract boolean getIsNodeHealthy()
true if the node is healthy, else false@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setIsNodeHealthy(boolean isNodeHealthy)
@InterfaceAudience.Public @InterfaceStability.Stable public abstract String getHealthReport()
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setHealthReport(String healthReport)
@InterfaceAudience.Public @InterfaceStability.Stable public abstract long getLastHealthReportTime()
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setLastHealthReportTime(long lastHealthReport)
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.