站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 jmx API Documentation 英文版文档

MonitorRunnable (JBoss/JMX API) - JBoss 4.0.1 sp1 jmx API Documentation 英文版文档


org.jboss.mx.util
Class MonitorRunnable

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

public class MonitorRunnable
extends SchedulableRunnable

Version:
$Revision: 1.2 $
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
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 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 © 2002 JBoss Group, LLC. All Rights Reserved.