|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.TimerTask org.eclipse.jetty.monitor.jmx.MonitorTask
public class MonitorTask
MonitorTask Invokes polling of the JMX server for the MBean attribute values through executing timer task scheduled using java.util.Timer at specified poll interval following a specified delay.
Method Summary | |
---|---|
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 |
Methods inherited from class java.util.TimerTask |
---|
cancel, scheduledExecutionTime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void schedule(MonitorAction action)
action
- monitor actionpublic static void cancel(MonitorAction action)
action
- monitor actionpublic final void run()
run
in interface Runnable
run
in class TimerTask
TimerTask.run()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |