Class AbstractScheduledService.Scheduler

    • Method Detail

      • newFixedDelaySchedule

        public static  initialDelay,
                                                                                delay)
        Returns a method.
        Parameters:
        initialDelay - the time to delay first execution
        delay - the delay between the termination of one execution and the commencement of the next
        Since:
        28.0
      • newFixedDelaySchedule

        public static AbstractScheduledService.Scheduler newFixedDelaySchedule​(long initialDelay,
                                                                               long delay,
                                                                                unit)
        Returns a method.
        Parameters:
        initialDelay - the time to delay first execution
        delay - the delay between the termination of one execution and the commencement of the next
        unit - the time unit of the initialDelay and delay parameters
      • newFixedRateSchedule

        public static  initialDelay,
                                                                               period)
        Returns a method.
        Parameters:
        initialDelay - the time to delay first execution
        period - the period between successive executions of the task
        Since:
        28.0
      • newFixedRateSchedule

        public static AbstractScheduledService.Scheduler newFixedRateSchedule​(long initialDelay,
                                                                              long period,
                                                                               unit)
        Returns a method.
        Parameters:
        initialDelay - the time to delay first execution
        period - the period between successive executions of the task
        unit - the time unit of the initialDelay and period parameters