Class QueueSizeBasedExecutor

java.lang.Object
org.apache.lucene.search.SliceExecutor
org.apache.lucene.search.QueueSizeBasedExecutor

class QueueSizeBasedExecutor extends SliceExecutor
Derivative of SliceExecutor that controls the number of active threads that are used for a single query. At any point, no more than (maximum pool size of the executor * LIMITING_FACTOR) tasks should be active. If the limit is exceeded, further segments are searched on the caller thread