Class TransportDeleteDataSourceAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<DeleteDataSourceAction.Request,AcknowledgedResponse>
org.elasticsearch.action.support.HandledTransportAction<DeleteDataSourceAction.Request,AcknowledgedResponse>
org.elasticsearch.action.support.master.TransportMasterNodeAction<DeleteDataSourceAction.Request,AcknowledgedResponse>
org.elasticsearch.action.support.master.AcknowledgedTransportMasterNodeAction<DeleteDataSourceAction.Request>
org.elasticsearch.action.support.master.AcknowledgedTransportMasterNodeProjectAction<DeleteDataSourceAction.Request>
org.elasticsearch.xpack.esql.datasources.datasource.TransportDeleteDataSourceAction
- All Implemented Interfaces:
ActionWithReservedState<DeleteDataSourceAction.Request>
public class TransportDeleteDataSourceAction
extends AcknowledgedTransportMasterNodeProjectAction<DeleteDataSourceAction.Request>
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, executor, threadPool, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportDeleteDataSourceAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, DataSourceService dataSourceService, ProjectResolver projectResolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(DeleteDataSourceAction.Request request, ProjectState state) protected voidmasterOperation(Task task, DeleteDataSourceAction.Request request, ProjectState state, ActionListener<AcknowledgedResponse> listener) Methods inherited from class org.elasticsearch.action.support.master.AcknowledgedTransportMasterNodeProjectAction
checkBlock, masterOperationMethods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, localExecute, validateForReservedStateMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, executeDirect, localOnlyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.reservedstate.ActionWithReservedState
modifiedKeys, reservedStateHandlerName, validateForReservedState
-
Constructor Details
-
TransportDeleteDataSourceAction
@Inject public TransportDeleteDataSourceAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, DataSourceService dataSourceService, ProjectResolver projectResolver)
-
-
Method Details
-
masterOperation
protected void masterOperation(Task task, DeleteDataSourceAction.Request request, ProjectState state, ActionListener<AcknowledgedResponse> listener) - Specified by:
masterOperationin classAcknowledgedTransportMasterNodeProjectAction<DeleteDataSourceAction.Request>
-
checkBlock
protected ClusterBlockException checkBlock(DeleteDataSourceAction.Request request, ProjectState state) - Specified by:
checkBlockin classAcknowledgedTransportMasterNodeProjectAction<DeleteDataSourceAction.Request>
-