public class HealthServiceHealthCheckImpl extends AbstractHealthCheck
Modifier and Type | Class and Description |
---|---|
protected class |
HealthServiceHealthCheckImpl.HealthSystemHealthCheckWorker |
Constructor and Description |
---|
HealthServiceHealthCheckImpl() |
Modifier and Type | Method and Description |
---|---|
HealthCheckResult |
checkHealth() |
long |
getFreezeTimeout() |
long |
getThreadCheckPeriod() |
void |
setFreezeTimeoutImpl(long freezeTimeout) |
void |
setThreadCheckPeriodImpl(long threadCheckPeriod) |
void |
start() |
void |
stop() |
findDelegate, getDelegate, getLastResult, getLogPeriod, getName, hasDelegate, init, isEnabled, logResult, setEnabled, setLogPeriod, setName, silenceFor, toString
public HealthCheckResult checkHealth()
public void start()
start
in interface HealthCheck
start
in class AbstractHealthCheck
public void stop()
stop
in interface HealthCheck
stop
in class AbstractHealthCheck
public long getFreezeTimeout()
public void setFreezeTimeoutImpl(long freezeTimeout)
public long getThreadCheckPeriod()
public void setThreadCheckPeriodImpl(long threadCheckPeriod)