程序包 amo.lib.common
类 ThreadPoolConfig
java.lang.Object
amo.lib.common.ThreadPoolConfig
- 所有已实现的接口:
org.springframework.scheduling.annotation.AsyncConfigurer
@Configuration @EnableAsync @EnableScheduling public class ThreadPoolConfig extends Object implements org.springframework.scheduling.annotation.AsyncConfigurer
-
构造器详细资料
-
ThreadPoolConfig
@Autowired public ThreadPoolConfig()
-
-
方法详细资料
-
getAsyncExecutor
Bean托管,需要配置使用 覆盖应用全局配置上的Executor- 指定者:
getAsyncExecutor在接口中org.springframework.scheduling.annotation.AsyncConfigurer- 返回:
- Executor
-