Package org.apache.druid.guice
Class DruidProcessingModule
- java.lang.Object
-
- org.apache.druid.guice.DruidProcessingModule
-
- All Implemented Interfaces:
com.google.inject.Module
public class DruidProcessingModule extends Object implements com.google.inject.Module
-
-
Constructor Summary
Constructors Constructor Description DruidProcessingModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(com.google.inject.Binder binder)CachePopulatorgetCachePopulator(com.fasterxml.jackson.databind.ObjectMapper smileMapper, CachePopulatorStats cachePopulatorStats, CacheConfig cacheConfig)org.apache.druid.collections.NonBlockingPool<ByteBuffer>getIntermediateResultsPool(org.apache.druid.query.DruidProcessingConfig config)org.apache.druid.collections.BlockingPool<ByteBuffer>getMergeBufferPool(org.apache.druid.query.DruidProcessingConfig config)org.apache.druid.query.QueryProcessingPoolgetProcessingExecutorPool(org.apache.druid.query.DruidProcessingConfig config, org.apache.druid.query.ExecutorServiceMonitor executorServiceMonitor, org.apache.druid.java.util.common.lifecycle.Lifecycle lifecycle)
-
-
-
Method Detail
-
configure
public void configure(com.google.inject.Binder binder)
- Specified by:
configurein interfacecom.google.inject.Module
-
getCachePopulator
@Provides public CachePopulator getCachePopulator(com.fasterxml.jackson.databind.ObjectMapper smileMapper, CachePopulatorStats cachePopulatorStats, CacheConfig cacheConfig)
-
getProcessingExecutorPool
@Provides public org.apache.druid.query.QueryProcessingPool getProcessingExecutorPool(org.apache.druid.query.DruidProcessingConfig config, org.apache.druid.query.ExecutorServiceMonitor executorServiceMonitor, org.apache.druid.java.util.common.lifecycle.Lifecycle lifecycle)
-
getIntermediateResultsPool
@Provides public org.apache.druid.collections.NonBlockingPool<ByteBuffer> getIntermediateResultsPool(org.apache.druid.query.DruidProcessingConfig config)
-
getMergeBufferPool
@Provides public org.apache.druid.collections.BlockingPool<ByteBuffer> getMergeBufferPool(org.apache.druid.query.DruidProcessingConfig config)
-
-