@Singleton @Configurable public class Restart extends AbstractHealthAction
<health:HttpStatusHealthCheck ee:Named="httpStatusCheck">
<url>http://localhost:8080/test-ping.jsp</url>
</health:HttpStatusHealthCheck>
<health:Restart>
<health:IfHealthCritical healthCheck="${httpStatusCheck}"/>
<health:IfRechecked/>
</health:Restart>
Constructor and Description |
---|
Restart() |
Modifier and Type | Method and Description |
---|---|
HealthActionResult |
doActionImpl(HealthEvent healthEvent) |
add, addListener, doAction, getPredicates, init, start, stop, toString
public HealthActionResult doActionImpl(HealthEvent healthEvent) throws java.lang.Exception
doActionImpl
in class AbstractHealthAction
java.lang.Exception