类 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
异步处理
  • 构造器详细资料

    • 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