public class UserSpecificWaitingQueriesSelectionPolicy extends Object implements WaitingQueriesSelectionPolicy
Constructor and Description |
---|
UserSpecificWaitingQueriesSelectionPolicy() |
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 UserSpecificWaitingQueriesSelectionPolicy()
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.