|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.health.predicate.AbstractHealthPredicate
com.caucho.health.predicate.AbstractScheduledHealthPredicate
com.caucho.health.predicate.AbstractHealthCheckPredicate
com.caucho.health.predicate.IfRecovered
@Configurable public class IfRecovered
Qualifies an action to match upon recovery of Resin health. Recovery is defined as the state change from CRITICAL or WARNING to OK.
<health:SendMail mail="${healthMailer}">
<to>admin@yourdomain.com</to>
<to>another_admin@yourdomain.com</to>
<health:IfRecovered/>
</health:SendMail>
| Constructor Summary | |
|---|---|
IfRecovered()
|
|
| Method Summary | |
|---|---|
boolean |
isMatch(HealthEvent healthEvent)
The abstract match returns true, so a child can combine its own matches with the parent. |
| 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 |
|---|
public IfRecovered()
| Method Detail |
|---|
public boolean isMatch(HealthEvent healthEvent)
AbstractHealthPredicateisMatch doesn't return true.
isMatch in interface HealthPredicateisMatch in class AbstractScheduledHealthPredicate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||