Class NoQueryLaningStrategy
java.lang.Object
org.apache.druid.server.scheduling.NoQueryLaningStrategy
- All Implemented Interfaces:
QueryLaningStrategy
Query laning strategy that does nothing and provides the default, unlimited behavior
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncomputeLane(QueryPlus<T> query, Set<SegmentServerSelector> segments) For a givenQueryPlusand set ofSegmentServerSelector, compute if a query belongs to a lane This method must be thread safeit.unimi.dsi.fastutil.objects.Object2IntMap<String>getLaneLimits(int totalLimit) Provide a map of lane names to the limit on the number of concurrent queries for that laneMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.druid.server.QueryLaningStrategy
computeLimitFromPercent
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
NoQueryLaningStrategy
public NoQueryLaningStrategy()
-
-
Method Details
-
getLaneLimits
Description copied from interface:QueryLaningStrategyProvide a map of lane names to the limit on the number of concurrent queries for that lane- Specified by:
getLaneLimitsin interfaceQueryLaningStrategy
-
computeLane
Description copied from interface:QueryLaningStrategyFor a givenQueryPlusand set ofSegmentServerSelector, compute if a query belongs to a lane This method must be thread safe- Specified by:
computeLanein interfaceQueryLaningStrategy
-