public interface HealthCheck
Modifier and Type | Method and Description |
---|---|
HealthCheckResult |
checkHealth() |
HealthCheckResult |
getLastResult(HealthService healthService) |
java.lang.String |
getName() |
boolean |
isEnabled() |
void |
logResult(HealthCheckResult result,
java.util.logging.Logger log) |
void |
setLogPeriod(Period period) |
void |
silenceFor(Period period) |
void |
start() |
void |
stop() |
HealthCheckResult checkHealth()
boolean isEnabled()
java.lang.String getName()
void start()
void stop()
void silenceFor(Period period)
void setLogPeriod(Period period)
void logResult(HealthCheckResult result, java.util.logging.Logger log)
HealthCheckResult getLastResult(HealthService healthService)