public class MaxJDBCConnectionCheckConstraint extends Object implements QueryLaunchingConstraint
| Constructor and Description |
|---|
MaxJDBCConnectionCheckConstraint(int poolMaxSize) |
| Modifier and Type | Method and Description |
|---|---|
String |
allowsLaunchOf(QueryContext candidateQuery,
EstimatedImmutableQueryCollection launchedQueries)
Returns whether this constraint allows candidate query to be launched.
|
public MaxJDBCConnectionCheckConstraint(int poolMaxSize)
public String allowsLaunchOf(QueryContext candidateQuery, EstimatedImmutableQueryCollection launchedQueries)
QueryLaunchingConstraintallowsLaunchOf in interface QueryLaunchingConstraintcandidateQuery - The query which is the next candidate to be launched.launchedQueries - Current launched queriesCopyright © 2014–2018 Apache Software Foundation. All rights reserved.