Class BatchCorrelationSchedulerConfiguration
-
- All Implemented Interfaces:
-
org.springframework.scheduling.annotation.SchedulingConfigurer
@AutoConfiguration()@EnableScheduling()@AutoConfigureAfter(value = {MessagePersistenceConfiguration.class})@ConditionalOnBean(name = {"batchConfigurationProperties"}) public final class BatchCorrelationSchedulerConfiguration implements SchedulingConfigurerScheduler configuration.
-
-
Constructor Summary
Constructors Constructor Description BatchCorrelationSchedulerConfiguration(BatchCorrelationProcessor batchCorrelationProcessor, MessageManagementService messageManagementService, BatchConfigurationProperties batchConfigurationProperties, CorrelationMetrics correlationMetrics)
-
Method Summary
Modifier and Type Method Description final UnitrunCorrelation()Scheduler. final UnitcleanupExpired()Cleanup scheduler. final ExecutorcorrelateTaskExecutor()Scheduler thread pool. UnitconfigureTasks(ScheduledTaskRegistrar taskRegistrar)-
-
Constructor Detail
-
BatchCorrelationSchedulerConfiguration
BatchCorrelationSchedulerConfiguration(BatchCorrelationProcessor batchCorrelationProcessor, MessageManagementService messageManagementService, BatchConfigurationProperties batchConfigurationProperties, CorrelationMetrics correlationMetrics)
-
-
Method Detail
-
runCorrelation
@Scheduled(initialDelayString = "#{batchConfigurationProperties.queryPollInitialDelay}", fixedRateString = "#{batchConfigurationProperties.queryPollInterval}") final Unit runCorrelation()Scheduler.
-
cleanupExpired
@Scheduled(initialDelayString = "#{batchConfigurationProperties.cleanupPollInitialDelay}", fixedRateString = "#{batchConfigurationProperties.cleanupPollInterval}") final Unit cleanupExpired()Cleanup scheduler.
-
correlateTaskExecutor
@Bean(destroyMethod = "shutdown")@Qualifier(value = "correlateTaskExecutor") final Executor correlateTaskExecutor()
Scheduler thread pool.
-
configureTasks
Unit configureTasks(ScheduledTaskRegistrar taskRegistrar)
-
-
-
-