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

com.instaclustr.threading.ExecutorsModule Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
package com.instaclustr.threading;

import com.google.inject.AbstractModule;
import com.google.inject.Provides;
import com.google.inject.Singleton;
import com.instaclustr.threading.Executors.FixedTasksExecutorSupplier;

public class ExecutorsModule extends AbstractModule {
    @Provides
    @Singleton
    Executors.ExecutorServiceSupplier getFileUploaderExecutorSupplier() {
        return new FixedTasksExecutorSupplier();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy