|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.RunnableScheduler
public class RunnableScheduler
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.
SchedulableRunnable
Constructor Summary | |
---|---|
RunnableScheduler()
Constructs a new runnable scheduler. |
|
RunnableScheduler(org.jboss.util.threadpool.ThreadPool threadPool)
Constructs a new runnable scheduler. |
Method Summary | |
---|---|
void |
run()
Runs the scheduler. |
void |
start()
Starts the scheduler. |
void |
stop()
Stops the scheduler, cancels all submitted jobs. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RunnableScheduler()
public RunnableScheduler(org.jboss.util.threadpool.ThreadPool threadPool)
Method Detail |
---|
public void start()
public void stop()
public void run()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |