This commit is contained in:
Claus Ibsen 2013-11-03 11:52:44 +01:00
parent 06356db1c4
commit af1edf4588
1 changed files with 3 additions and 0 deletions

View File

@ -44,7 +44,10 @@ public final class Scheduler extends ServiceSupport {
/* /*
* execute on rough schedule based on termination of last execution. There is no * execute on rough schedule based on termination of last execution. There is no
* compensation (two runs in quick succession) for delays * compensation (two runs in quick succession) for delays
*
* @deprecated use {@link #executePeriodically}
*/ */
@Deprecated
public synchronized void schedualPeriodically(final Runnable task, long period) { public synchronized void schedualPeriodically(final Runnable task, long period) {
TimerTask timerTask = new SchedulerTimerTask(task); TimerTask timerTask = new SchedulerTimerTask(task);
timer.schedule(timerTask, period, period); timer.schedule(timerTask, period, period);