org.apache.activemq.thread
Class Scheduler

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

public class Scheduler
extends Object

Version:
$Revision$

Field Summary
static edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecutor clockDaemon
           
 
Constructor Summary
Scheduler()
           
 
Method Summary
static void cancel(Runnable task)
           
static void executeAfterDelay(Runnable task, long redeliveryDelay)
           
static void executePeriodically(Runnable task, long period)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clockDaemon

public static edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecutor clockDaemon
Constructor Detail

Scheduler

public Scheduler()
Method Detail

executePeriodically

public static void executePeriodically(Runnable task,
                                       long period)

cancel

public static void cancel(Runnable task)

executeAfterDelay

public static void executeAfterDelay(Runnable task,
                                     long redeliveryDelay)


Copyright © 2011 Apache Software Foundation. All Rights Reserved.