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 Summary
Constructors Constructor Description SchedulerConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigureTasks(org.springframework.scheduling.config.ScheduledTaskRegistrar taskRegistrar)
-