public class SimpleAction extends MonitorAction
DEFAULT_POLL_INTERVAL| Constructor and Description |
|---|
SimpleAction(EventTrigger trigger,
EventNotifier notifier,
long pollInterval) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(EventTrigger trigger,
EventState<?> state,
long timestamp)
This method will be called to allow subclass to execute
the desired action in response to the event.
|
doExecute, getID, getPollDelay, getPollInterval, getTriggeraddNotifier, addNotifiers, getNotifiers, notify, removeNotifier, removeNotifierspublic SimpleAction(EventTrigger trigger, EventNotifier notifier, long pollInterval) throws InvalidParameterException
InvalidParameterExceptionpublic void execute(EventTrigger trigger, EventState<?> state, long timestamp)
MonitorActionexecute in class MonitorActiontrigger - event trigger associated with this monitor actionstate - event state associated with current invocation of event triggertimestamp - time stamp of the current invocation of event triggerMonitorAction.execute(org.eclipse.jetty.monitor.jmx.EventTrigger, org.eclipse.jetty.monitor.jmx.EventState, long)Copyright © 1995-2015 Webtide. All Rights Reserved.