public class JavaMonitorAction extends MonitorAction
DEFAULT_POLL_INTERVAL| Constructor and Description |
|---|
JavaMonitorAction(EventNotifier notifier,
String url,
String uuid,
String appid,
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.
|
Integer |
getHttpPort() |
doExecute, getID, getPollDelay, getPollInterval, getTriggeraddNotifier, addNotifiers, getNotifiers, notify, removeNotifier, removeNotifierspublic JavaMonitorAction(EventNotifier notifier, String url, String uuid, String appid, long pollInterval) throws Exception
notifier - pollInterval - ExceptionMalformedObjectNameExceptionpublic 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)public Integer getHttpPort()
Copyright © 1995-2015 Webtide. All Rights Reserved.