org.eclipse.jetty.monitor.integration
Class JavaMonitorAction
java.lang.Object
org.eclipse.jetty.monitor.jmx.NotifierGroup
org.eclipse.jetty.monitor.jmx.MonitorAction
org.eclipse.jetty.monitor.integration.JavaMonitorAction
- All Implemented Interfaces:
- EventNotifier
public class JavaMonitorAction
- extends MonitorAction
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaMonitorAction
public JavaMonitorAction(EventNotifier notifier,
String url,
String uuid,
String appid,
long pollInterval)
throws Exception
- Parameters:
notifier
- pollInterval
-
- Throws:
Exception
MalformedObjectNameException
execute
public void execute(EventTrigger trigger,
EventState<?> state,
long timestamp)
- Description copied from class:
MonitorAction
- This method will be called to allow subclass to execute
the desired action in response to the event.
- Specified by:
execute
in class MonitorAction
- Parameters:
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 trigger- See Also:
MonitorAction.execute(org.eclipse.jetty.monitor.jmx.EventTrigger, org.eclipse.jetty.monitor.jmx.EventState, long)
getHttpPort
public Integer getHttpPort()
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.