Class SchedulerConfiguration

java.lang.Object
pro.taskana.adapter.configuration.SchedulerConfiguration
All Implemented Interfaces:
org.springframework.scheduling.annotation.SchedulingConfigurer

@Configuration public class SchedulerConfiguration extends Object implements org.springframework.scheduling.annotation.SchedulingConfigurer
Configures the scheduler. Per default all @scheduled methods share a single thread. To provide a unique thread per @scheduled method, we configure here 10 threads for the @scheduled methods.
  • Constructor Details

    • SchedulerConfiguration

      public SchedulerConfiguration()
  • Method Details

    • configureTasks

      public void configureTasks(org.springframework.scheduling.config.ScheduledTaskRegistrar taskRegistrar)
      Specified by:
      configureTasks in interface org.springframework.scheduling.annotation.SchedulingConfigurer