Class TransportPutDataSourceAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<PutDataSourceAction.Request,AcknowledgedResponse>
org.elasticsearch.action.support.HandledTransportAction<PutDataSourceAction.Request,AcknowledgedResponse>
org.elasticsearch.action.support.master.TransportMasterNodeAction<PutDataSourceAction.Request,AcknowledgedResponse>
org.elasticsearch.action.support.master.AcknowledgedTransportMasterNodeAction<PutDataSourceAction.Request>
org.elasticsearch.action.support.master.AcknowledgedTransportMasterNodeProjectAction<PutDataSourceAction.Request>
org.elasticsearch.xpack.esql.datasources.datasource.TransportPutDataSourceAction
- All Implemented Interfaces:
ActionWithReservedState<PutDataSourceAction.Request>
public class TransportPutDataSourceAction
extends AcknowledgedTransportMasterNodeProjectAction<PutDataSourceAction.Request>
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
executor, threadPool, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportPutDataSourceAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, DataSourceService dataSourceService, ProjectResolver projectResolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(PutDataSourceAction.Request request, ProjectState state) protected voiddoExecute(Task task, PutDataSourceAction.Request request, ActionListener<AcknowledgedResponse> listener) protected voidmasterOperation(Task task, PutDataSourceAction.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
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
-
TransportPutDataSourceAction
@Inject public TransportPutDataSourceAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, DataSourceService dataSourceService, ProjectResolver projectResolver)
-
-
Method Details
-
doExecute
protected void doExecute(Task task, PutDataSourceAction.Request request, ActionListener<AcknowledgedResponse> listener) - Overrides:
doExecutein classTransportMasterNodeAction<PutDataSourceAction.Request,AcknowledgedResponse>
-
masterOperation
protected void masterOperation(Task task, PutDataSourceAction.Request request, ProjectState state, ActionListener<AcknowledgedResponse> listener) - Specified by:
masterOperationin classAcknowledgedTransportMasterNodeProjectAction<PutDataSourceAction.Request>
-
checkBlock
- Specified by:
checkBlockin classAcknowledgedTransportMasterNodeProjectAction<PutDataSourceAction.Request>
-