org.eclipse.jetty.monitor.integration
public class JavaMonitorAction extends MonitorAction
DEFAULT_POLL_INTERVAL| Constructor and Description |
|---|
JavaMonitorAction(EventNotifier notifier,
java.lang.String url,
java.lang.String uuid,
java.lang.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.
|
java.lang.Integer |
getHttpPort() |
doExecute, getID, getPollDelay, getPollInterval, getTriggeraddNotifier, addNotifiers, getNotifiers, notify, removeNotifier, removeNotifierspublic JavaMonitorAction(EventNotifier notifier, java.lang.String url, java.lang.String uuid, java.lang.String appid, long pollInterval) throws java.lang.Exception
notifier - pollInterval - java.lang.Exceptionjavax.management.MalformedObjectNameExceptionpublic 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 java.lang.Integer getHttpPort()
Copyright © 2017. All Rights Reserved.