org.springframework.scheduling.config

Class FixedDelayTask

    • Constructor Summary

      Constructors 
      Constructor and Description
      FixedDelayTask(java.lang.Runnable runnable, long interval, long initialDelay)
      Create a new FixedDelayTask.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FixedDelayTask

        public FixedDelayTask(java.lang.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