| Package | Description | 
|---|---|
| org.springframework.scheduling | General exceptions for Spring's scheduling support,
 independent of any specific scheduling system. | 
| org.springframework.scheduling.concurrent | Scheduling convenience classes for the  java.util.concurrentandjavax.enterprise.concurrentpackages, allowing to set up a
 ThreadPoolExecutor or ScheduledThreadPoolExecutor as a bean in a Spring
 context. | 
| org.springframework.scheduling.config | Support package for declarative scheduling configuration,
 with XML schema being the primary configuration format. | 
| org.springframework.scheduling.support | Generic support classes for scheduling. | 
| Modifier and Type | Method and Description | 
|---|---|
| ScheduledFuture<?> | TaskScheduler. schedule(Runnable task,
        Trigger trigger)Schedule the given  Runnable, invoking it whenever the trigger
 indicates a next execution time. | 
| Modifier and Type | Method and Description | 
|---|---|
| ScheduledFuture<?> | ThreadPoolTaskScheduler. schedule(Runnable task,
        Trigger trigger) | 
| ScheduledFuture<?> | ConcurrentTaskScheduler. schedule(Runnable task,
        Trigger trigger) | 
| Modifier and Type | Method and Description | 
|---|---|
| Trigger | TriggerTask. getTrigger()Return the associated trigger. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ScheduledTaskRegistrar. addTriggerTask(Runnable task,
              Trigger trigger)Add a Runnable task to be triggered per the given  Trigger. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ScheduledTaskRegistrar. setTriggerTasks(Map<Runnable,Trigger> triggerTasks)Specify triggered tasks as a Map of Runnables (the tasks) and Trigger objects
 (typically custom implementations of the  Triggerinterface). | 
| Constructor and Description | 
|---|
| TriggerTask(Runnable runnable,
           Trigger trigger)Create a new  TriggerTask. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | CronTriggerTriggerimplementation for cron expressions. | 
| class  | PeriodicTriggerA trigger for periodic task execution. |