Class FixedDelayTask


public class FixedDelayTask extends IntervalTask
Specialization of IntervalTask for fixed-delay semantics.
Since:
5.0.2
Author:
Juergen Hoeller
See Also:
  • Constructor Details

    • FixedDelayTask

      public FixedDelayTask(Runnable runnable, long interval, long initialDelay)
      Create a new FixedDelayTask.
      Parameters:
      runnable - the underlying task to execute
      interval - how often in milliseconds the task should be executed
      initialDelay - the initial delay before first execution of the task