public class DruidProcessingModule extends Object implements com.google.inject.Module
Constructor and Description |
---|
DruidProcessingModule() |
Modifier and Type | Method and Description |
---|---|
void |
configure(com.google.inject.Binder binder) |
ExecutorService |
getBackgroundExecutorService(CacheConfig cacheConfig) |
StupidPool<ByteBuffer> |
getIntermediateResultsPool(DruidProcessingConfig config) |
ExecutorService |
getProcessingExecutorService(com.metamx.common.concurrent.ExecutorServiceConfig config,
com.metamx.emitter.service.ServiceEmitter emitter,
com.metamx.common.lifecycle.Lifecycle lifecycle) |
public void configure(com.google.inject.Binder binder)
configure
in interface com.google.inject.Module
@Provides public ExecutorService getBackgroundExecutorService(CacheConfig cacheConfig)
@Provides public ExecutorService getProcessingExecutorService(com.metamx.common.concurrent.ExecutorServiceConfig config, com.metamx.emitter.service.ServiceEmitter emitter, com.metamx.common.lifecycle.Lifecycle lifecycle)
@Provides public StupidPool<ByteBuffer> getIntermediateResultsPool(DruidProcessingConfig config)
Copyright © 2011–2015. All rights reserved.