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, getTrigger
addNotifier, addNotifiers, getNotifiers, notify, removeNotifier, removeNotifiers
public SimpleAction(EventTrigger trigger, EventNotifier notifier, long pollInterval) throws InvalidParameterException
InvalidParameterException
public void execute(EventTrigger trigger, EventState<?> state, long timestamp)
MonitorAction
execute
in class MonitorAction
trigger
- 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.