Package com.google.gerrit.server.config
Class SysExecutorModule
- java.lang.Object
- 
- com.google.inject.AbstractModule
- 
- com.google.gerrit.server.config.SysExecutorModule
 
 
- 
- All Implemented Interfaces:
- com.google.inject.Module
 
 public class SysExecutorModule extends com.google.inject.AbstractModuleModule providing different executors.This module is intended to be installed at the top level when creating a sysInjectorinDaemonor similar, not nested in another module. This ensures the module can be swapped out for the googlesource.com implementation.
- 
- 
Constructor SummaryConstructors Constructor Description SysExecutorModule()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigure()com.google.common.util.concurrent.ListeningExecutorServiceprovideCacheRefreshExecutor(org.eclipse.jgit.lib.Config config, WorkQueue queues)ExecutorServiceprovideFanOutExecutor(org.eclipse.jgit.lib.Config config, WorkQueue queues)ExecutorServiceprovideReceiveCommitsExecutor(org.eclipse.jgit.lib.Config config, WorkQueue queues)ExecutorServiceprovideSendEmailExecutor(org.eclipse.jgit.lib.Config config, WorkQueue queues)- 
Methods inherited from class com.google.inject.AbstractModuleaddError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
 
- 
 
- 
- 
- 
Method Detail- 
configureprotected void configure() - Overrides:
- configurein class- com.google.inject.AbstractModule
 
 - 
provideReceiveCommitsExecutor@Provides public ExecutorService provideReceiveCommitsExecutor(org.eclipse.jgit.lib.Config config, WorkQueue queues) 
 - 
provideSendEmailExecutor@Provides public ExecutorService provideSendEmailExecutor(org.eclipse.jgit.lib.Config config, WorkQueue queues) 
 - 
provideFanOutExecutor@Provides public ExecutorService provideFanOutExecutor(org.eclipse.jgit.lib.Config config, WorkQueue queues) 
 - 
provideCacheRefreshExecutor@Provides public com.google.common.util.concurrent.ListeningExecutorService provideCacheRefreshExecutor(org.eclipse.jgit.lib.Config config, WorkQueue queues)
 
- 
 
-