|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.yarn.server.api.records.NodeHealthStatus
@InterfaceAudience.Public @InterfaceStability.Stable public abstract class NodeHealthStatus
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 Summary | |
|---|---|
NodeHealthStatus()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NodeHealthStatus()
| Method Detail |
|---|
@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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||