com.caucho.health.check
Class TransactionHealthCheck

java.lang.Object
  extended by com.caucho.health.check.AbstractHealthCheck
      extended by com.caucho.transaction.TransactionHealthCheckImpl
          extended by com.caucho.health.check.TransactionHealthCheck
All Implemented Interfaces:
HealthCheck

@Singleton
@Configurable
@Named
public class TransactionHealthCheck
extends TransactionHealthCheckImpl

Monitors the transaction manager for commit failures.

Generates WARNING if there were commit failures since the last check.


Constructor Summary
TransactionHealthCheck()
           
 
Method Summary
protected  AbstractHealthCheck findDelegate(HealthService healthService)
          Finds and returns any delegate health check.
 
Methods inherited from class com.caucho.transaction.TransactionHealthCheckImpl
checkHealth
 
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

TransactionHealthCheck

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