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) |
CachePopulator |
getCachePopulator(com.fasterxml.jackson.databind.ObjectMapper smileMapper,
CachePopulatorStats cachePopulatorStats,
CacheConfig cacheConfig) |
NonBlockingPool<ByteBuffer> |
getIntermediateResultsPool(DruidProcessingConfig config) |
BlockingPool<ByteBuffer> |
getMergeBufferPool(DruidProcessingConfig config) |
ForkJoinPool |
getMergeProcessingPool(LifecycleForkJoinPoolProvider poolProvider) |
LifecycleForkJoinPoolProvider |
getMergeProcessingPoolProvider(DruidProcessingConfig config) |
QueryProcessingPool |
getProcessingExecutorPool(DruidProcessingConfig config,
ExecutorServiceMonitor executorServiceMonitor,
Lifecycle lifecycle) |
public void configure(com.google.inject.Binder binder)
configure in interface com.google.inject.Module@Provides public CachePopulator getCachePopulator(com.fasterxml.jackson.databind.ObjectMapper smileMapper, CachePopulatorStats cachePopulatorStats, CacheConfig cacheConfig)
@Provides public QueryProcessingPool getProcessingExecutorPool(DruidProcessingConfig config, ExecutorServiceMonitor executorServiceMonitor, Lifecycle lifecycle)
@Provides public NonBlockingPool<ByteBuffer> getIntermediateResultsPool(DruidProcessingConfig config)
@Provides public BlockingPool<ByteBuffer> getMergeBufferPool(DruidProcessingConfig config)
@Provides public LifecycleForkJoinPoolProvider getMergeProcessingPoolProvider(DruidProcessingConfig config)
@Provides public ForkJoinPool getMergeProcessingPool(LifecycleForkJoinPoolProvider poolProvider)
Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.