Class QueryScheduler

java.lang.Object
org.apache.druid.server.QueryScheduler
All Implemented Interfaces:
QueryWatcher

public class QueryScheduler extends Object implements QueryWatcher
QueryScheduler (potentially) assigns any Query that is to be executed to a 'query lane' using the QueryLaningStrategy that is defined in QuerySchedulerConfig. As a QueryWatcher, it also provides cancellation facilities to brokers, historicals, and realtime tasks. This class is shared by all requests on the HTTP theadpool and must be thread safe.