Class PlanConcurrencyCalculator
java.lang.Object
org.elasticsearch.xpack.esql.planner.PlanConcurrencyCalculator
Calculates the maximum number of nodes that should be queried concurrently for the given data node plan.
Used to avoid overloading the cluster with concurrent requests that may not be needed.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncalculateNodesConcurrency(PhysicalPlan dataNodePlan, Configuration configuration)
-
Field Details
-
INSTANCE
-
-
Method Details
-
calculateNodesConcurrency
@Nullable public Integer calculateNodesConcurrency(PhysicalPlan dataNodePlan, Configuration configuration) - Returns:
nullif there should be no limit, otherwise, the maximum number of nodes that should be queried concurrently.
-