public class ThresholdBasedQueryPrioritizationStrategy extends Object implements QueryPrioritizationStrategy
| Constructor and Description |
|---|
ThresholdBasedQueryPrioritizationStrategy(String periodThresholdString,
String durationThresholdString,
Integer segmentCountThreshold,
Integer adjustment) |
| Modifier and Type | Method and Description |
|---|---|
<T> Optional<Integer> |
computePriority(QueryPlus<T> query,
Set<SegmentServerSelector> segments) |
public <T> Optional<Integer> computePriority(QueryPlus<T> query, Set<SegmentServerSelector> segments)
computePriority in interface QueryPrioritizationStrategyCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.