| Package | Description |
|---|---|
| org.apache.druid.server | |
| org.apache.druid.server.scheduling |
| Modifier and Type | Method and Description |
|---|---|
QueryPrioritizationStrategy |
QuerySchedulerConfig.getPrioritizationStrategy() |
| Constructor and Description |
|---|
QueryScheduler(int totalNumThreads,
QueryPrioritizationStrategy prioritizationStrategy,
QueryLaningStrategy laningStrategy,
ServerConfig serverConfig) |
| Modifier and Type | Class and Description |
|---|---|
class |
ManualQueryPrioritizationStrategy
Does nothing, the user must set the
QueryContexts.PRIORITY_KEY on the query context
to get a priority. |
class |
ThresholdBasedQueryPrioritizationStrategy
Lowers query priority when any of the configured thresholds is exceeded
|
| Modifier and Type | Field and Description |
|---|---|
static QueryPrioritizationStrategy |
ManualQueryPrioritizationStrategy.INSTANCE |
Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.