|
||||||||||
| 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.OnStop
com.caucho.health.predicate.OnAbnormalStop
@Configurable public class OnAbnormalStop
Qualifies an action to match only when Resin is stopping with an non-OK exit code.
<health:Snapshot>
<health:OnAbnormalStop/>
</health:Snapshot
| Constructor Summary | |
|---|---|
OnAbnormalStop()
|
|
| Method Summary | |
|---|---|
void |
addNormalExitCode(ExitCode exitCode)
|
void |
init()
|
boolean |
isMatch(HealthEvent event)
The abstract match returns true, so a child can combine its own matches with the parent. |
| 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 OnAbnormalStop()
| Method Detail |
|---|
@PostConstruct public void init()
@Configurable public void addNormalExitCode(ExitCode exitCode)
public boolean isMatch(HealthEvent event)
AbstractHealthPredicateisMatch doesn't return true.
isMatch in interface HealthPredicateisMatch in class OnStop
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||