org.jboss.mx.util
Class MonitorRunnable

java.lang.Object
  extended by org.jboss.mx.util.SchedulableRunnable
      extended by org.jboss.mx.util.MonitorRunnable
All Implemented Interfaces:
Runnable

public class MonitorRunnable
extends SchedulableRunnable

Version:
$Revision: 81019 $
Author:
Scott.Stark@jboss.org

Constructor Summary
MonitorRunnable(Monitor monitor, ObjectName monitorName, MonitorCallback callback, Map observedObjects, MBeanServer 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
getNextRun, run, setNextRun, setScheduler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonitorRunnable

public MonitorRunnable(Monitor monitor,
                       ObjectName monitorName,
                       MonitorCallback callback,
                       Map observedObjects,
                       MBeanServer 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


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.