Package org.apache.druid.guice
Class RouterProcessingModule
java.lang.Object
org.apache.druid.guice.RouterProcessingModule
- All Implemented Interfaces:
com.google.inject.Module
This module is used to fulfill dependency injection of query processing and caching resources: buffer pools and
thread pools on Router Druid node type. Router needs to inject those resources, because it depends on
QueryToolChests, 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.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(com.google.inject.Binder binder) getGroupByResourcesReservationPool(BlockingPool<ByteBuffer> mergeBufferPool, GroupByQueryConfig groupByQueryConfig) Reservation pool injected with a dummy pool
-
Constructor Details
-
RouterProcessingModule
public RouterProcessingModule()
-
-
Method Details
-
configure
public void configure(com.google.inject.Binder binder) - Specified by:
configurein interfacecom.google.inject.Module
-
getProcessingExecutorPool
-
getIntermediateResultsPool
-
getMergeBufferPool
-
getGroupByResourcesReservationPool
@Provides public GroupByResourcesReservationPool getGroupByResourcesReservationPool(BlockingPool<ByteBuffer> mergeBufferPool, GroupByQueryConfig groupByQueryConfig) Reservation pool injected with a dummy pool
-