类 AsyncConfiguration

  • 所有已实现的接口:
    org.springframework.scheduling.annotation.AsyncConfigurer

    @Configuration
    @EnableAsync
    @EnableScheduling
    @EnableConfigurationProperties(DustMsProperties.class)
    public class AsyncConfiguration
    extends java.lang.Object
    implements org.springframework.scheduling.annotation.AsyncConfigurer
    • 构造器详细资料

      • AsyncConfiguration

        public AsyncConfiguration()
    • 方法详细资料

      • getAsyncExecutor

        @Bean(name="taskExecutor")
        public java.util.concurrent.Executor getAsyncExecutor()
        指定者:
        getAsyncExecutor 在接口中 org.springframework.scheduling.annotation.AsyncConfigurer
      • getAsyncUncaughtExceptionHandler

        public org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler getAsyncUncaughtExceptionHandler()
        指定者:
        getAsyncUncaughtExceptionHandler 在接口中 org.springframework.scheduling.annotation.AsyncConfigurer