Class TransportEsqlAsyncStopAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<AsyncStopRequest,EsqlQueryResponse>
org.elasticsearch.action.support.HandledTransportAction<AsyncStopRequest,EsqlQueryResponse>
org.elasticsearch.xpack.esql.plugin.TransportEsqlAsyncStopAction
public class TransportEsqlAsyncStopAction
extends HandledTransportAction<AsyncStopRequest,EsqlQueryResponse>
This action will stop running async request and collect the results.
If the request is already finished, it will do the same thing as the regular async get.
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportEsqlAsyncStopAction(TransportService transportService, ClusterService clusterService, ActionFilters actionFilters, TransportEsqlQueryAction queryAction, TransportEsqlAsyncGetResultsAction getResultsAction, Client client, ExchangeService exchangeService, BlockFactoryProvider blockFactoryProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoExecute(Task task, AsyncStopRequest request, ActionListener<EsqlQueryResponse> listener) Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, executeDirect, localOnly
-
Constructor Details
-
TransportEsqlAsyncStopAction
@Inject public TransportEsqlAsyncStopAction(TransportService transportService, ClusterService clusterService, ActionFilters actionFilters, TransportEsqlQueryAction queryAction, TransportEsqlAsyncGetResultsAction getResultsAction, Client client, ExchangeService exchangeService, BlockFactoryProvider blockFactoryProvider)
-
-
Method Details
-
doExecute
protected void doExecute(Task task, AsyncStopRequest request, ActionListener<EsqlQueryResponse> listener) - Specified by:
doExecutein classTransportAction<AsyncStopRequest,EsqlQueryResponse>
-