spring-framework / org.springframework.scheduling.concurrent / ThreadPoolTaskScheduler / setPoolSize

setPoolSize

open fun setPoolSize(poolSize: Int): Unit

Set the ScheduledExecutorService's pool size. Default is 1.

This setting can be modified at runtime, for example through JMX.