com.caucho.health.check
Class ResinHealthCheck

java.lang.Object
  extended by com.caucho.health.check.AbstractHealthCheck
      extended by com.caucho.env.health.ResinHealthCheckImpl
          extended by com.caucho.health.check.ResinHealthCheck
All Implemented Interfaces:
HealthCheck

@Singleton
@Configurable
@Named
public class ResinHealthCheck
extends ResinHealthCheckImpl

This check aggregates all the other health checks, resulting in the current overall health.

Generates CRITICAL if any checks are currently reporting CRITICAL.

Generates WARNING if any checks are currently reporting WARNING.


Field Summary
 
Fields inherited from class com.caucho.env.health.ResinHealthCheckImpl
NAME
 
Constructor Summary
ResinHealthCheck()
           
 
Method Summary
protected  AbstractHealthCheck findDelegate(HealthService healthService)
          Finds and returns any delegate health check.
 
Methods inherited from class com.caucho.env.health.ResinHealthCheckImpl
checkHealth, getName
 
Methods inherited from class com.caucho.health.check.AbstractHealthCheck
getDelegate, 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

ResinHealthCheck

public ResinHealthCheck()
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