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 -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigureTasks(org.springframework.scheduling.config.ScheduledTaskRegistrar taskRegistrar)
-
Constructor Details
-
SchedulerConfiguration
public SchedulerConfiguration()
-
-
Method Details
-
configureTasks
public void configureTasks(org.springframework.scheduling.config.ScheduledTaskRegistrar taskRegistrar) - Specified by:
configureTasksin interfaceorg.springframework.scheduling.annotation.SchedulingConfigurer
-