java.lang.Object
org.apache.lucene.search.SliceExecutor
org.apache.lucene.search.QueueSizeBasedExecutor
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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.lucene.search.SliceExecutor
processTask
-
Field Details
-
LIMITING_FACTOR
private static final double LIMITING_FACTOR- See Also:
-
threadPoolExecutor
-
-
Constructor Details
-
QueueSizeBasedExecutor
-
-
Method Details
-
invokeAll
- Overrides:
invokeAll
in classSliceExecutor
-