Package org.apache.lucene.search
Class SliceExecutor
- java.lang.Object
-
- org.apache.lucene.search.SliceExecutor
-
- Direct Known Subclasses:
QueueSizeBasedExecutor
class SliceExecutor extends java.lang.Object
Executor which is responsible for execution of slices based on the current status of the system and current system load
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.concurrent.Executor
executor
-
Constructor Summary
Constructors Constructor Description SliceExecutor(java.util.concurrent.Executor executor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
invokeAll(java.util.Collection<? extends java.lang.Runnable> tasks)
protected void
processTask(java.lang.Runnable task, boolean shouldExecuteOnCallerThread)
-