@Configurable public class Nand extends AbstractCombiningPredicate
<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 and Description |
|---|
Nand() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMatch(HealthEvent healthEvent)
Matches children with logical NAND operation
|
add, getPredicates, init, setActiontoStringpublic boolean isMatch(HealthEvent healthEvent)
isMatch in interface HealthPredicateisMatch in class AbstractHealthPredicate