Class RealtimeLuceneTextIndexSearcherPool
- java.lang.Object
-
- org.apache.pinot.segment.local.realtime.impl.invertedindex.RealtimeLuceneTextIndexSearcherPool
-
public class RealtimeLuceneTextIndexSearcherPool extends Object
This class manages a thread pool used for searching over realtime Lucene segments byRealtimeLuceneTextIndex. The pool max size is equivalent to pinot.query.scheduler.query_worker_threads to ensure each worker thread can have an accompanying Lucene searcher thread if needed. init() is called in BaseServerStarter to avoid creating a dependency on pinot-core.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutorServicegetExecutorService()static RealtimeLuceneTextIndexSearcherPoolgetInstance()static RealtimeLuceneTextIndexSearcherPoolinit(int size)
-
-
-
Method Detail
-
getInstance
public static RealtimeLuceneTextIndexSearcherPool getInstance()
-
init
public static RealtimeLuceneTextIndexSearcherPool init(int size)
-
getExecutorService
public ExecutorService getExecutorService()
-
-