com.caucho.health.action
Class ActionSequence
java.lang.Object
com.caucho.health.action.AbstractHealthAction
com.caucho.health.action.ActionSequence
- All Implemented Interfaces:
- HealthAction
- Direct Known Subclasses:
- Snapshot
@Singleton
@Configurable
public class ActionSequence
- extends AbstractHealthAction
Sequence of health actions.
<health:ActionSequence>
<health:FailSafeRestart timeout="10m">
<health:DumpThreads/>
<health:DumpHeap/>
<health:StartProfiler active-time="5m"/>
<health:Restart/>
<health:IfHealthCritical time="5m"/>
</health:ActionSequence>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_actionList
public java.util.ArrayList<HealthAction> _actionList
ActionSequence
public ActionSequence()
init
@PostConstruct
public void init()
- Overrides:
init in class AbstractHealthAction
add
public void add(HealthAction action)
doActionImpl
public void doActionImpl(HealthEvent healthEvent)
- Specified by:
doActionImpl in class AbstractHealthAction