@Configurable public class IfUptime extends AbstractScheduledHealthPredicate
<health:Restart>
<health:IfUptime after="12h"/>
</health:Restart>
| Constructor and Description |
|---|
IfUptime() |
| Modifier and Type | Method and Description |
|---|---|
void |
init() |
boolean |
isMatch(HealthEvent healthEvent)
The abstract match returns true, so a child can combine its own
matches with the parent.
|
void |
setAfter(Period period) |
java.lang.String |
toString() |
@PostConstruct public void init()
@Configurable public void setAfter(Period period)
public boolean isMatch(HealthEvent healthEvent)
AbstractHealthPredicateisMatch doesn't return true.isMatch in interface HealthPredicateisMatch in class AbstractScheduledHealthPredicatepublic java.lang.String toString()
toString in class AbstractHealthPredicate