public class DatabaseConnectionPoolHealthCheck extends com.codahale.metrics.health.HealthCheck
Gauge
(which should represent percentage usage of a database
connection pool) returns a value that is below the supplied unhealthy threshold.Constructor and Description |
---|
DatabaseConnectionPoolHealthCheck(com.codahale.metrics.Gauge<Double> gauge,
double unhealthyThreshold) |
Modifier and Type | Method and Description |
---|---|
protected com.codahale.metrics.health.HealthCheck.Result |
check() |
public DatabaseConnectionPoolHealthCheck(com.codahale.metrics.Gauge<Double> gauge, double unhealthyThreshold)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.