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

getScheduledExecutor

open fun getScheduledExecutor(): ScheduledExecutorService

Return the underlying ScheduledExecutorService for native access.

Exceptions

IllegalStateException - if the ThreadPoolTaskScheduler hasn't been initialized yet

Return
the underlying ScheduledExecutorService (never null)