@Configuration
@ConditionalOnProperty(name="spring.async.enabled",
matchIfMissing=false)
@EnableConfigurationProperties(value=ThreadPoolProperties.class)
public class ThreadPoolAutoConfiguration
extends Object
Description: 自动装配
| 构造器和说明 |
|---|
ThreadPoolAutoConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
ThreadPoolExecutor |
threadPoolExecutor() |
@Bean public ThreadPoolExecutor threadPoolExecutor()
Copyright © 2021. All rights reserved.