public final class CodahaleHealthChecker extends Object
connectionTimeout
, unless the health check property
connectivityCheckTimeoutMs
is defined. However, if either the connectionTimeout
or the connectivityCheckTimeoutMs
is 0 (infinite), a timeout of 10 seconds will be used.
The Connection99Percent health check will only be registered if the health check property
expected99thPercentileMs
is defined and greater than 0.
Modifier and Type | Method and Description |
---|---|
static void |
registerHealthChecks(BaseHikariPool pool,
com.codahale.metrics.health.HealthCheckRegistry registry)
Register Dropwizard health checks.
|
public static void registerHealthChecks(BaseHikariPool pool, com.codahale.metrics.health.HealthCheckRegistry registry)
pool
- the pool to register health checks forregistry
- the HealthCheckRegistry into which checks will be registeredCopyright © 2015 Zaxxer.com. All Rights Reserved.