Class DelegatingSecurityContextTaskScheduler

java.lang.Object
org.springframework.security.scheduling.DelegatingSecurityContextTaskScheduler
All Implemented Interfaces:
org.springframework.scheduling.TaskScheduler

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

  • Method Details

    • schedule

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

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

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

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

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

      public ScheduledFuture<?> scheduleWithFixedDelay(Runnable task, long delay)
      Specified by:
      scheduleWithFixedDelay in interface org.springframework.scheduling.TaskScheduler
    • schedule

      public ScheduledFuture<?> schedule(Runnable task, Instant startTime)
      Specified by:
      schedule in interface org.springframework.scheduling.TaskScheduler
    • scheduleAtFixedRate

      public ScheduledFuture<?> scheduleAtFixedRate(Runnable task, Instant startTime, Duration period)
      Specified by:
      scheduleAtFixedRate in interface org.springframework.scheduling.TaskScheduler
    • scheduleAtFixedRate

      public ScheduledFuture<?> scheduleAtFixedRate(Runnable task, Duration period)
      Specified by:
      scheduleAtFixedRate in interface org.springframework.scheduling.TaskScheduler
    • scheduleWithFixedDelay

      public ScheduledFuture<?> scheduleWithFixedDelay(Runnable task, Instant startTime, Duration delay)
      Specified by:
      scheduleWithFixedDelay in interface org.springframework.scheduling.TaskScheduler
    • scheduleWithFixedDelay

      public ScheduledFuture<?> scheduleWithFixedDelay(Runnable task, Duration delay)
      Specified by:
      scheduleWithFixedDelay in interface org.springframework.scheduling.TaskScheduler
    • getClock

      public Clock getClock()
      Specified by:
      getClock in interface org.springframework.scheduling.TaskScheduler