Class DelegatingSecurityContextTaskScheduler

  • All Implemented Interfaces:
    org.springframework.scheduling.TaskScheduler

    public class DelegatingSecurityContextTaskScheduler
    extends java.lang.Object
    implements org.springframework.scheduling.TaskScheduler
    An implementation of TaskScheduler invoking it whenever the trigger indicates a next execution time.
    Since:
    5.1
    • Method Detail

      • schedule

        public java.util.concurrent.ScheduledFuture<?> schedule​(java.lang.Runnable task,
                                                                org.springframework.scheduling.Trigger trigger)
        Specified by:
        schedule in interface org.springframework.scheduling.TaskScheduler
      • schedule

        public java.util.concurrent.ScheduledFuture<?> schedule​(java.lang.Runnable task,
                                                                java.util.Date startTime)
        Specified by:
        schedule in interface org.springframework.scheduling.TaskScheduler
      • scheduleAtFixedRate

        public java.util.concurrent.ScheduledFuture<?> scheduleAtFixedRate​(java.lang.Runnable task,
                                                                           java.util.Date startTime,
                                                                           long period)
        Specified by:
        scheduleAtFixedRate in interface org.springframework.scheduling.TaskScheduler
      • scheduleAtFixedRate

        public java.util.concurrent.ScheduledFuture<?> scheduleAtFixedRate​(java.lang.Runnable task,
                                                                           long period)
        Specified by:
        scheduleAtFixedRate in interface org.springframework.scheduling.TaskScheduler
      • scheduleWithFixedDelay

        public java.util.concurrent.ScheduledFuture<?> scheduleWithFixedDelay​(java.lang.Runnable task,
                                                                              java.util.Date startTime,
                                                                              long delay)
        Specified by:
        scheduleWithFixedDelay in interface org.springframework.scheduling.TaskScheduler
      • scheduleWithFixedDelay

        public java.util.concurrent.ScheduledFuture<?> scheduleWithFixedDelay​(java.lang.Runnable task,
                                                                              long delay)
        Specified by:
        scheduleWithFixedDelay in interface org.springframework.scheduling.TaskScheduler