org.springframework.scheduling.config

Class FixedRateTask

    • Constructor Summary

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

      • Methods inherited from class java.lang.Object

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

      • FixedRateTask

        public FixedRateTask(java.lang.Runnable runnable,
                             long interval,
                             long initialDelay)
        Create a new FixedRateTask.
        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