Class AsyncConfiguration

  • All Implemented Interfaces:
    org.springframework.scheduling.annotation.AsyncConfigurer

    @Configuration
    @EnableConfigurationProperties(ConcurrencyProperties.class)
    @EnableAsync
    public class AsyncConfiguration
    extends Object
    implements org.springframework.scheduling.annotation.AsyncConfigurer
    • Constructor Detail

    • Method Detail

      • getAsyncExecutor

        @Bean(name="taskExecutor")
        public Executor getAsyncExecutor()
        Specified by:
        getAsyncExecutor in interface org.springframework.scheduling.annotation.AsyncConfigurer
      • getRepositoryAsyncExecutor

        @Bean(name="repositoryTaskExecutor")
        public Executor getRepositoryAsyncExecutor()
      • getServiceAsyncExecutor

        @Bean(name="serviceTaskExecutor")
        public Executor getServiceAsyncExecutor()
      • getControllerAsyncExecutor

        @Bean(name="controllerTaskExecutor")
        public Executor getControllerAsyncExecutor()
      • getAsyncUncaughtExceptionHandler

        public org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler getAsyncUncaughtExceptionHandler()
        Specified by:
        getAsyncUncaughtExceptionHandler in interface org.springframework.scheduling.annotation.AsyncConfigurer