public class DriverSpecificWaitingQueriesSelectionPolicy extends Object implements WaitingQueriesSelectionPolicy
Constructor and Description |
---|
DriverSpecificWaitingQueriesSelectionPolicy() |
Modifier and Type | Method and Description |
---|---|
Set<QueryContext> |
selectQueries(FinishedLensQuery finishedQuery,
EstimatedImmutableQueryCollection waitingQueries)
Selects a subset of waiting queries eligible to move out of waiting state, based on logic of this selection policy.
|
public DriverSpecificWaitingQueriesSelectionPolicy()
public Set<QueryContext> selectQueries(FinishedLensQuery finishedQuery, EstimatedImmutableQueryCollection waitingQueries)
WaitingQueriesSelectionPolicy
selectQueries
in interface WaitingQueriesSelectionPolicy
finishedQuery
- waitingQueries
- current waiting queriesCopyright © 2014–2016 Apache Software Foundation. All rights reserved.