类 VioletExecutorConfiguration
java.lang.Object
org.springframework.scheduling.annotation.AsyncConfigurerSupport
org.violet.common.bootstrap.config.VioletExecutorConfiguration
- 所有已实现的接口:
org.springframework.scheduling.annotation.AsyncConfigurer
@AutoConfiguration
@EnableAsync
@EnableScheduling
@EnableConfigurationProperties(VioletAsyncProperties.class)
public class VioletExecutorConfiguration
extends org.springframework.scheduling.annotation.AsyncConfigurerSupport
异步处理
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明org.springframework.core.task.AsyncTaskExecutororg.springframework.aop.interceptor.AsyncUncaughtExceptionHandler
-
构造器详细资料
-
VioletExecutorConfiguration
public VioletExecutorConfiguration()
-
-
方法详细资料
-
getAsyncExecutor
@Bean(name="ComAsyncExecutor") public org.springframework.core.task.AsyncTaskExecutor getAsyncExecutor()- 指定者:
getAsyncExecutor在接口中org.springframework.scheduling.annotation.AsyncConfigurer- 覆盖:
getAsyncExecutor在类中org.springframework.scheduling.annotation.AsyncConfigurerSupport
-
getAsyncUncaughtExceptionHandler
public org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler getAsyncUncaughtExceptionHandler()- 指定者:
getAsyncUncaughtExceptionHandler在接口中org.springframework.scheduling.annotation.AsyncConfigurer- 覆盖:
getAsyncUncaughtExceptionHandler在类中org.springframework.scheduling.annotation.AsyncConfigurerSupport
-