Class ThreadPoolTaskSchedulerBuilder

java.lang.Object
org.springframework.boot.task.ThreadPoolTaskSchedulerBuilder

public class ThreadPoolTaskSchedulerBuilder extends Object
Builder that can be used to configure and create a ThreadPoolTaskScheduler. Provides convenience methods to set common ThreadPoolTaskScheduler settings. For advanced configuration, consider using ThreadPoolTaskSchedulerCustomizer.

In a typical auto-configured Spring Boot application this builder is available as a bean and can be injected whenever a ThreadPoolTaskScheduler is needed.

Since:
3.2.0
Author:
Stephane Nicoll