com.caucho.health.check
Class ConnectionPoolHealthCheck

java.lang.Object
  extended by com.caucho.health.check.AbstractHealthCheck
      extended by com.caucho.env.dbpool.ConnectionPoolHealthCheckImpl
          extended by com.caucho.health.check.ConnectionPoolHealthCheck
All Implemented Interfaces:
HealthStatusListener, HealthCheck

@Singleton
@Configurable
@Named
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
ConnectionPoolHealthCheck()
           
 
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 com.caucho.health.check.AbstractHealthCheck
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

ConnectionPoolHealthCheck

public ConnectionPoolHealthCheck()
Method Detail

findDelegate

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

Overrides:
findDelegate in class AbstractHealthCheck