public class ConnectionPoolHealthCheckImpl extends AbstractHealthCheck implements HealthStatusListener
Constructor and Description |
---|
ConnectionPoolHealthCheckImpl() |
Modifier and Type | Method and Description |
---|---|
HealthCheckResult |
checkHealth() |
void |
updateHealthStatus(java.lang.Object source,
HealthStatus status,
java.lang.String message)
Invoked when a health status update occurs.
|
findDelegate, getDelegate, getLastResult, getLogPeriod, getName, hasDelegate, init, isEnabled, logResult, setEnabled, setLogPeriod, setName, silenceFor, start, stop, toString
public HealthCheckResult checkHealth()
checkHealth
in interface HealthCheck
public void updateHealthStatus(java.lang.Object source, HealthStatus status, java.lang.String message)
HealthStatusListener
updateHealthStatus
in interface HealthStatusListener
source
- the object that generated the statusstatus
- health statusmessage
- health message