public class CostRangePriorityDecider extends Object implements QueryPriorityDecider
Constructor and Description |
---|
CostRangePriorityDecider(CostToPriorityRangeConf costToPriorityRangeMap) |
Modifier and Type | Method and Description |
---|---|
Priority |
decidePriority(QueryCost cost) |
@ConstructorProperties(value="costToPriorityRangeMap") @Generated(value="lombok") public CostRangePriorityDecider(@NonNull CostToPriorityRangeConf costToPriorityRangeMap)
public Priority decidePriority(@NonNull QueryCost cost) throws LensException
decidePriority
in interface QueryPriorityDecider
LensException
- when can't decide priority.Copyright © 2014–2018 Apache Software Foundation. All rights reserved.