Class SchedulerTaskConfig

java.lang.Object
com.almis.awe.scheduler.autoconfigure.SchedulerTaskConfig

@Configuration @EnableAsync @EnableConfigurationProperties(SchedulerTaskConfigProperties.class) public class SchedulerTaskConfig extends Object
  • Constructor Details

  • Method Details

    • getSchedulerTaskPoolExecutor

      @Bean("schedulerTaskPool") public org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor getSchedulerTaskPoolExecutor(AweMDCTaskDecorator aweMDCTaskDecorator)
      Returns the asynchronous executor task
      Parameters:
      aweMDCTaskDecorator - AWE MDC task decorator
      Returns:
      Thread pool executor bean
    • getSchedulerJobPoolExecutor

      @Bean("schedulerJobPool") public org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor getSchedulerJobPoolExecutor(AweMDCTaskDecorator aweMDCTaskDecorator)
      Returns the asynchronous executor task
      Parameters:
      aweMDCTaskDecorator - AWE MDC task decorator
      Returns:
      Thread pool executor bean
    • getSchedulerTimeoutPoolExecutor

      @Bean("schedulerTimeoutPool") public org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor getSchedulerTimeoutPoolExecutor(AweMDCTaskDecorator aweMDCTaskDecorator)
      Returns the asynchronous executor task
      Parameters:
      aweMDCTaskDecorator - AWE MDC task decorator
      Returns:
      Thread pool executor bean