Module org.apache.lucene.monitor
Package org.apache.lucene.monitor
Class PartitionMatcher.PartitionMatcherFactory<T extends QueryMatch>
java.lang.Object
org.apache.lucene.monitor.PartitionMatcher.PartitionMatcherFactory<T>
- All Implemented Interfaces:
MatcherFactory<T>
- Enclosing class:
PartitionMatcher<T extends QueryMatch>
private static class PartitionMatcher.PartitionMatcherFactory<T extends QueryMatch>
extends Object
implements MatcherFactory<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ExecutorService
private final MatcherFactory
<T> private final int
-
Constructor Summary
ConstructorsConstructorDescriptionPartitionMatcherFactory
(ExecutorService executor, MatcherFactory<T> matcherFactory, int threads) -
Method Summary
Modifier and TypeMethodDescriptioncreateMatcher
(IndexSearcher searcher) Create a newCandidateMatcher
object, to select queries to match against the passed-in IndexSearcher
-
Field Details
-
executor
-
matcherFactory
-
threads
private final int threads
-
-
Constructor Details
-
PartitionMatcherFactory
PartitionMatcherFactory(ExecutorService executor, MatcherFactory<T> matcherFactory, int threads)
-
-
Method Details
-
createMatcher
Description copied from interface:MatcherFactory
Create a newCandidateMatcher
object, to select queries to match against the passed-in IndexSearcher- Specified by:
createMatcher
in interfaceMatcherFactory<T extends QueryMatch>
-