All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.capitalone.dashboard.config.CollectorConfig Maven / Gradle / Ivy

There is a newer version: 4.0.2
Show newest version
package com.capitalone.dashboard.config;


import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.TaskScheduler;
import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler;

/**
 * Configuration class that creates Beans common to any Collector implementation
 */
@Configuration
public class CollectorConfig {

    @Bean
    public TaskScheduler taskScheduler() {
        return new ThreadPoolTaskScheduler();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy