org.jboss.mx.util
Class MonitorRunnable

java.lang.Object
  extended byorg.jboss.mx.util.SchedulableRunnable (src) 
      extended byorg.jboss.mx.util.MonitorRunnable
All Implemented Interfaces:
java.lang.Comparable, java.lang.Runnable

public class MonitorRunnable
extends SchedulableRunnable (src)


Constructor Summary
MonitorRunnable(Monitor (src)  monitor, ObjectName (src)  monitorName, MonitorCallback (src)  callback, java.util.Map observedObjects, MBeanServer (src)  server)
          Create a monitor runnable to periodically perform monitoring.
 
Method Summary
 void doRun()
          Run the montior
 
Methods inherited from class org.jboss.mx.util.SchedulableRunnable (src)
compareTo, equals, getNextRun, run, setNextRun, setScheduler
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonitorRunnable

public MonitorRunnable(Monitor (src)  monitor,
                       ObjectName (src)  monitorName,
                       MonitorCallback (src)  callback,
                       java.util.Map observedObjects,
                       MBeanServer (src)  server)
Create a monitor runnable to periodically perform monitoring.

Parameters:
monitor - the monitoring to perform.
Method Detail

doRun

public void doRun()
Run the montior

Specified by:
doRun in class SchedulableRunnable (src)