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

getActiveCount

open fun getActiveCount(): Int

Return the number of currently active threads.

Requires an underlying ScheduledThreadPoolExecutor.

See Also
#getScheduledThreadPoolExecutor()java.util.concurrent.ScheduledThreadPoolExecutor#getActiveCount()