public interface HealthReporter
isHealthy()
)getHealthReport()
)getLastHealthReportTime()
)NodeHealthCheckerService
.
Developers are discouraged to implement new Java-based health scripts,
they should rather try to implement it as a script and use the
NodeHealthScriptRunner
implementation.Modifier and Type | Method and Description |
---|---|
String |
getHealthReport()
Returns output from health check.
|
long |
getLastHealthReportTime()
Returns time stamp when node health check was last run.
|
boolean |
isHealthy()
Gets whether the node is healthy or not.
|
boolean isHealthy()
String getHealthReport()
long getLastHealthReportTime()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.