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

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


org.jboss.mx.util
Class RunnableScheduler

java.lang.Object
  extended byorg.jboss.mx.util.RunnableScheduler
All Implemented Interfaces:
Runnable

public class RunnableScheduler
extends Object
implements Runnable

A runnable scheduler.

The scheduler needs to be started to do real work. To add work to the scheduler, create a SchedulableRunnable and set the scheduler. When the next run has passed the work is performed.

Version:
$Revision: 1.3 $
Author:
Adrian Brock.
See Also:
SchedulableRunnable

Constructor Summary
RunnableScheduler()
          Constructs a new runnable scheduler.
 
Method Summary
 void run()
          Run the scheduler
 void start()
          Start the scheduler
 void stop()
          Stop the scheduler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunnableScheduler

public RunnableScheduler()
Constructs a new runnable scheduler.

Method Detail

start

public void start()
Start the scheduler


stop

public void stop()
Stop the scheduler


run

public void run()
Run the scheduler

Specified by:
run in interface Runnable


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.