com.caucho.health.action
Class WarnWatchdog

java.lang.Object
  extended by com.caucho.health.action.AbstractHealthAction
      extended by com.caucho.health.action.WarnWatchdog
All Implemented Interfaces:
HealthAction

@Singleton
@Configurable
public class WarnWatchdog
extends AbstractHealthAction

Health action to send health status to the Resin watchdog.

<health:HttpStatusHealthCheck ee:Named="httpStatusCheck">
   <url>http://localhost:8080/test-ping.jsp</url>
 </health:HttpStatusHealthCheck>
 
 <health:WarnWatchdog>
   <health:IfHealthCritical healthCheck="${httpStatusCheck}"/>
   <health:IfRechecked/>
 </health:WarnWatchdog>
 


Constructor Summary
WarnWatchdog()
           
 
Method Summary
 void doActionImpl(HealthEvent healthEvent)
           
 
Methods inherited from class com.caucho.health.action.AbstractHealthAction
add, addListener, doAction, getPredicates, init, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WarnWatchdog

public WarnWatchdog()
Method Detail

doActionImpl

public void doActionImpl(HealthEvent healthEvent)
Specified by:
doActionImpl in class AbstractHealthAction