Class ConnectionPoolHealthCheck

  extended by
      extended by com.caucho.env.dbpool.ConnectionPoolHealthCheckImpl
          extended by
All Implemented Interfaces:
HealthStatusListener, HealthCheck

public class ConnectionPoolHealthCheck
extends ConnectionPoolHealthCheckImpl

Monitors the health of Resin database connection pools (<database>). See Resin documentation on <database> for additional configuration.

Generates WARNING upon exceeding max-connections.

Generates CRITICAL upon exceeding max-overflow-connections.

Constructor Summary
Method Summary
protected  AbstractHealthCheck findDelegate(HealthService healthService)
          Finds and returns any delegate health check.
Methods inherited from class com.caucho.env.dbpool.ConnectionPoolHealthCheckImpl
checkHealth, updateHealthStatus
Methods inherited from class
getDelegate, getName, init, isEnabled, setEnabled, setName, start, stop, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public ConnectionPoolHealthCheck()
Method Detail


protected AbstractHealthCheck findDelegate(HealthService healthService)
Description copied from class: AbstractHealthCheck
Finds and returns any delegate health check. Used to configure singleton system health checks.

findDelegate in class AbstractHealthCheck