@Singleton @Configurable @Named public class HealthSystemHealthCheck extends HealthServiceHealthCheckImpl
Generates FATAL if health checking has not occurred within freeze timeout (default 15 minutes)
Generates FATAL if health checking has not complete within acceptable time based on HealthSystem startup delay, period, and recheck parameters.
HealthServiceHealthCheckImpl.HealthSystemHealthCheckWorker
Constructor and Description |
---|
HealthSystemHealthCheck() |
Modifier and Type | Method and Description |
---|---|
protected AbstractHealthCheck |
findDelegate(HealthService healthService)
Finds and returns any delegate health check.
|
protected HealthSystemHealthCheck |
getDelegate() |
void |
setFreezeTimeout(Period freezeTimeout)
Set the max time for no health checks to occur to determine the
health system is frozen (default 15 minutes)
|
void |
setThreadCheckPeriod(Period threadCheckPeriod)
Set the polling frequency of the independent thread (default 1 minute)
|
checkHealth, getFreezeTimeout, getThreadCheckPeriod, setFreezeTimeoutImpl, setThreadCheckPeriodImpl, start, stop
getLastResult, getLogPeriod, getName, hasDelegate, init, isEnabled, logResult, setEnabled, setLogPeriod, setName, silenceFor, toString
@Configurable public void setFreezeTimeout(Period freezeTimeout)
@Configurable public void setThreadCheckPeriod(Period threadCheckPeriod)
protected AbstractHealthCheck findDelegate(HealthService healthService)
AbstractHealthCheck
findDelegate
in class AbstractHealthCheck
protected HealthSystemHealthCheck getDelegate()
getDelegate
in class AbstractHealthCheck