|
||||||||||
| 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.AbstractCombiningPredicate
com.caucho.health.predicate.Nand
@Configurable public class Nand
Matches if all of the child predicates fail.
<health:HttpStatusHealthCheck ee:Named="httpCheck1">
<url>http://localhost:8080/check1.jsp</url>
</health:HttpStatusHealthCheck>
<health:HttpStatusHealthCheck ee:Named="httpCheck2">
<url>http://localhost:8080/check2.jsp</url>
</health:HttpStatusHealthCheck>
<health:Restart>
<health:Nand>
<health:IfHealthOk healthCheck="${httpCheck1}"/>
<health:IfHealthOk healthCheck="${httpCheck2}"/>
</health:Nand>
</health:Restart>
| Constructor Summary | |
|---|---|
Nand()
|
|
| Method Summary | |
|---|---|
boolean |
isMatch(HealthEvent healthEvent)
Matches children with logical NAND operation |
| Methods inherited from class com.caucho.health.predicate.AbstractCombiningPredicate |
|---|
add, getPredicates, init, setAction |
| Methods inherited from class com.caucho.health.predicate.AbstractHealthPredicate |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Nand()
| Method Detail |
|---|
public boolean isMatch(HealthEvent healthEvent)
isMatch in interface HealthPredicateisMatch in class AbstractHealthPredicate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||