Uses of Interface
org.springframework.scheduling.TaskScheduler
Packages that use TaskScheduler
Package
Description
Scheduling convenience classes for the
java.util.concurrent
and jakarta.enterprise.concurrent packages, allowing to set up a
ThreadPoolExecutor or ScheduledThreadPoolExecutor as a bean in a Spring
context.Support package for declarative scheduling configuration,
with XML schema being the primary configuration format.
Generic support classes for scheduling.
-
Uses of TaskScheduler in org.springframework.scheduling.concurrent
Classes in org.springframework.scheduling.concurrent that implement TaskSchedulerModifier and TypeClassDescriptionclassAdapter that takes ajava.util.concurrent.ScheduledExecutorServiceand exposes a SpringTaskSchedulerfor it.classJNDI-based variant ofConcurrentTaskScheduler, performing a default lookup for JSR-236's "java:comp/DefaultManagedScheduledExecutorService" in a Jakarta EE environment.classA simple implementation of Spring'sTaskSchedulerinterface, using a single scheduler thread and executing every scheduled task in an individual separate thread.classA standard implementation of Spring'sTaskSchedulerinterface, wrapping a nativeScheduledThreadPoolExecutorand providing all applicable configuration options for it. -
Uses of TaskScheduler in org.springframework.scheduling.config
Classes in org.springframework.scheduling.config that implement TaskSchedulerModifier and TypeClassDescriptionclassA routing implementation of theTaskSchedulerinterface, delegating to a target scheduler based on an identified qualifier or using a default scheduler otherwise.Methods in org.springframework.scheduling.config that return TaskSchedulerModifier and TypeMethodDescriptionprotected TaskSchedulerTaskSchedulerRouter.determineDefaultScheduler()protected TaskSchedulerTaskSchedulerRouter.determineQualifiedScheduler(String qualifier) protected TaskSchedulerTaskSchedulerRouter.determineTargetScheduler(Runnable task) ScheduledTaskRegistrar.getScheduler()Return theTaskSchedulerinstance for this registrar (may benull).Methods in org.springframework.scheduling.config with parameters of type TaskSchedulerModifier and TypeMethodDescriptionvoidScheduledTaskRegistrar.setTaskScheduler(TaskScheduler taskScheduler) Set theTaskSchedulerto register scheduled tasks with. -
Uses of TaskScheduler in org.springframework.scheduling.support
Classes in org.springframework.scheduling.support that implement TaskSchedulerModifier and TypeClassDescriptionclassA basic, no operationTaskSchedulerimplementation suitable for disabling scheduling, typically used for test setups.