git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@674607 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2008-07-07 19:33:36 +00:00
parent d0a4d3625d
commit d74a8cf2e9
1 changed files with 4 additions and 0 deletions

View File

@ -51,5 +51,9 @@ public final class Scheduler {
TimerTask timerTask = new SchedulerTimerTask(task);
CLOCK_DAEMON.schedule(timerTask, redeliveryDelay);
}
public static void shutdown() {
CLOCK_DAEMON.cancel();
}
}