AsyncConfig

@Configuration
@EnableAsync
open class AsyncConfig : AsyncConfigurer

异步配置

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@Bean(name = "commonThreadPool")
open fun executor(): ThreadPoolTaskExecutor
Link copied to clipboard
Link copied to clipboard
open fun getAsyncUncaughtExceptionHandler(): AsyncUncaughtExceptionHandler