@Configuration @EnableAsync @EnableScheduling @EnableConfigurationProperties(value=ExecutorProperties.class) public class ExecutorConfiguration extends org.springframework.scheduling.annotation.AsyncConfigurerSupport
| 限定符和类型 | 字段和说明 |
|---|---|
private ExecutorProperties |
bladeAsyncProperties |
| 构造器和说明 |
|---|
ExecutorConfiguration() |
private final ExecutorProperties bladeAsyncProperties
@Bean(name="taskExecutor") public Executor getAsyncExecutor()
getAsyncExecutor 在接口中 org.springframework.scheduling.annotation.AsyncConfigurergetAsyncExecutor 在类中 org.springframework.scheduling.annotation.AsyncConfigurerSupportpublic org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler getAsyncUncaughtExceptionHandler()
getAsyncUncaughtExceptionHandler 在接口中 org.springframework.scheduling.annotation.AsyncConfigurergetAsyncUncaughtExceptionHandler 在类中 org.springframework.scheduling.annotation.AsyncConfigurerSupportCopyright © 2024. All rights reserved.