public class DelegatingSecurityContextTaskScheduler
extends java.lang.Object
implements org.springframework.scheduling.TaskScheduler
TaskScheduler invoking it whenever the trigger
indicates a next execution time.| Constructor and Description |
|---|
DelegatingSecurityContextTaskScheduler(org.springframework.scheduling.TaskScheduler taskScheduler)
Creates a new
DelegatingSecurityContextTaskScheduler |
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.ScheduledFuture<?> |
schedule(java.lang.Runnable task,
java.util.Date startTime) |
java.util.concurrent.ScheduledFuture<?> |
schedule(java.lang.Runnable task,
org.springframework.scheduling.Trigger trigger) |
java.util.concurrent.ScheduledFuture<?> |
scheduleAtFixedRate(java.lang.Runnable task,
java.util.Date startTime,
long period) |
java.util.concurrent.ScheduledFuture<?> |
scheduleAtFixedRate(java.lang.Runnable task,
long period) |
java.util.concurrent.ScheduledFuture<?> |
scheduleWithFixedDelay(java.lang.Runnable task,
java.util.Date startTime,
long delay) |
java.util.concurrent.ScheduledFuture<?> |
scheduleWithFixedDelay(java.lang.Runnable task,
long delay) |
public DelegatingSecurityContextTaskScheduler(org.springframework.scheduling.TaskScheduler taskScheduler)
DelegatingSecurityContextTaskSchedulertaskScheduler - the TaskSchedulerpublic java.util.concurrent.ScheduledFuture<?> schedule(java.lang.Runnable task,
org.springframework.scheduling.Trigger trigger)
schedule in interface org.springframework.scheduling.TaskSchedulerpublic java.util.concurrent.ScheduledFuture<?> schedule(java.lang.Runnable task,
java.util.Date startTime)
schedule in interface org.springframework.scheduling.TaskSchedulerpublic java.util.concurrent.ScheduledFuture<?> scheduleAtFixedRate(java.lang.Runnable task,
java.util.Date startTime,
long period)
scheduleAtFixedRate in interface org.springframework.scheduling.TaskSchedulerpublic java.util.concurrent.ScheduledFuture<?> scheduleAtFixedRate(java.lang.Runnable task,
long period)
scheduleAtFixedRate in interface org.springframework.scheduling.TaskSchedulerpublic java.util.concurrent.ScheduledFuture<?> scheduleWithFixedDelay(java.lang.Runnable task,
java.util.Date startTime,
long delay)
scheduleWithFixedDelay in interface org.springframework.scheduling.TaskSchedulerpublic java.util.concurrent.ScheduledFuture<?> scheduleWithFixedDelay(java.lang.Runnable task,
long delay)
scheduleWithFixedDelay in interface org.springframework.scheduling.TaskScheduler