com.caucho.health.predicate
Class IfHealthWarning

java.lang.Object
  extended by com.caucho.health.predicate.AbstractHealthPredicate
      extended by com.caucho.health.predicate.AbstractScheduledHealthPredicate
          extended by com.caucho.health.predicate.AbstractHealthCheckPredicate
              extended by com.caucho.health.predicate.IfHealthStatus
                  extended by com.caucho.health.predicate.IfHealthWarning
All Implemented Interfaces:
HealthPredicate

@Configurable
public class IfHealthWarning
extends IfHealthStatus

Qualifies an action to match warning health status.

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


Constructor Summary
IfHealthWarning()
           
IfHealthWarning(HealthCheck healthCheck)
           
 
Method Summary
 
Methods inherited from class com.caucho.health.predicate.IfHealthStatus
getStatus, isMatch, setCount, setStatus, setSystemRecheckTime, setTime, setTimeMillis
 
Methods inherited from class com.caucho.health.predicate.AbstractHealthCheckPredicate
getHealthCheck, getLastResult, setHealthCheck, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IfHealthWarning

public IfHealthWarning()

IfHealthWarning

public IfHealthWarning(HealthCheck healthCheck)