spring-framework / org.springframework.scheduling.concurrent / ForkJoinPoolFactoryBean / setAsyncMode

setAsyncMode

open fun setAsyncMode(asyncMode: Boolean): Unit

Specify whether to establish a local first-in-first-out scheduling mode for forked tasks that are never joined. This mode (asyncMode = true) may be more appropriate than the default locally stack-based mode in applications in which worker threads only process event-style asynchronous tasks. Default is false.