public class RouterProcessingModule extends Object implements com.google.inject.Module
QueryToolChest
s, and they couple query type aspects not related to processing and caching,
which Router uses, and related to processing and caching, which Router doesn't use, but they inject the resources.Constructor and Description |
---|
RouterProcessingModule() |
Modifier and Type | Method and Description |
---|---|
void |
configure(com.google.inject.Binder binder) |
ExecutorService |
getBackgroundExecutorService(CacheConfig cacheConfig) |
NonBlockingPool<ByteBuffer> |
getIntermediateResultsPool() |
BlockingPool<ByteBuffer> |
getMergeBufferPool(DruidProcessingConfig config) |
ExecutorService |
getProcessingExecutorService(DruidProcessingConfig config) |
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(DruidProcessingConfig config)
@Provides public NonBlockingPool<ByteBuffer> getIntermediateResultsPool()
@Provides public BlockingPool<ByteBuffer> getMergeBufferPool(DruidProcessingConfig config)
Copyright © 2011–2018. All rights reserved.