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, getTrigger
addNotifier, addNotifiers, getNotifiers, notify, removeNotifier, removeNotifiers
public JavaMonitorAction(EventNotifier notifier, String url, String uuid, String appid, long pollInterval) throws Exception
notifier
- pollInterval
- Exception
MalformedObjectNameException
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)
public Integer getHttpPort()
Copyright © 1995-2015 Webtide. All Rights Reserved.