org.eclipse.jetty.monitor.jmx
public class MonitorTask extends java.util.TimerTask
Modifier and Type | Method and Description |
---|---|
static void |
cancel(MonitorAction action)
Cancel timer task for specified monitor action
|
void |
run()
This method is invoked when poll interval has elapsed
to check if the event trigger conditions are satisfied
in order to fire event.
|
static void |
schedule(MonitorAction action)
Schedule new timer task for specified monitor action
|
public static void schedule(MonitorAction action)
action
- monitor actionpublic static void cancel(MonitorAction action)
action
- monitor actionpublic final void run()
run
in interface java.lang.Runnable
run
in class java.util.TimerTask
TimerTask.run()
Copyright © 2013. All Rights Reserved.