org.jboss.mx.util
Class MonitorRunnable
java.lang.Object
org.jboss.mx.util.SchedulableRunnable
org.jboss.mx.util.MonitorRunnable
- All Implemented Interfaces:
- Runnable
public class MonitorRunnable
- extends SchedulableRunnable
- Version:
- $Revision: 81019 $
- Author:
- Scott.Stark@jboss.org
Method Summary |
void |
doRun()
Run the montior |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
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.