org.apache.activemq.thread
Class Scheduler

java.lang.Object
  extended by org.apache.activemq.thread.Scheduler

public final class Scheduler
extends Object

Singelton, references maintained by users

Version:
$Revision$

Method Summary
 void cancel(Runnable task)
           
 void executeAfterDelay(Runnable task, long redeliveryDelay)
           
 void executePeriodically(Runnable task, long period)
           
static Scheduler getInstance()
           
 void schedualPeriodically(Runnable task, long period)
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static Scheduler getInstance()

executePeriodically

public void executePeriodically(Runnable task,
                                long period)

schedualPeriodically

public void schedualPeriodically(Runnable task,
                                 long period)

cancel

public void cancel(Runnable task)

executeAfterDelay

public void executeAfterDelay(Runnable task,
                              long redeliveryDelay)

shutdown

public void shutdown()


Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.