public class UnioningWaitingQueriesSelector extends Object implements WaitingQueriesSelector
WaitingQueriesSelectionPolicy
to move them out of waiting state.Constructor and Description |
---|
UnioningWaitingQueriesSelector(com.google.common.collect.ImmutableSet<WaitingQueriesSelectionPolicy> selectionPolicies) |
Modifier and Type | Method and Description |
---|---|
Set<QueryContext> |
selectQueries(FinishedLensQuery finishedQuery,
EstimatedImmutableQueryCollection waitingQueries)
Selects queries eligible by all
WaitingQueriesSelectionPolicy to move them out of waiting state. |
public UnioningWaitingQueriesSelector(@NonNull com.google.common.collect.ImmutableSet<WaitingQueriesSelectionPolicy> selectionPolicies)
public Set<QueryContext> selectQueries(FinishedLensQuery finishedQuery, EstimatedImmutableQueryCollection waitingQueries)
WaitingQueriesSelectionPolicy
to move them out of waiting state.selectQueries
in interface WaitingQueriesSelector
finishedQuery
- waitingQueries
- WaitingQueriesSelector.selectQueries(FinishedLensQuery, EstimatedImmutableQueryCollection)
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.