Class DeleteDataStreamAction.TransportAction
java.lang.Object
org.opensearch.action.support.TransportAction<DeleteDataStreamAction.Request,AcknowledgedResponse>
org.opensearch.action.support.HandledTransportAction<DeleteDataStreamAction.Request,AcknowledgedResponse>
org.opensearch.action.support.clustermanager.TransportClusterManagerNodeAction<DeleteDataStreamAction.Request,AcknowledgedResponse>
org.opensearch.action.admin.indices.datastream.DeleteDataStreamAction.TransportAction
- Enclosing class:
DeleteDataStreamAction
public static class DeleteDataStreamAction.TransportAction
extends TransportClusterManagerNodeAction<DeleteDataStreamAction.Request,AcknowledgedResponse>
Transport action for deleting data streams
- Opensearch.internal:
-
Field Summary
Fields inherited from class org.opensearch.action.support.clustermanager.TransportClusterManagerNodeAction
clusterService, indexNameExpressionResolver, threadPool, transportService
Fields inherited from class org.opensearch.action.support.TransportAction
actionName, taskManager
-
Constructor Summary
ConstructorDescriptionTransportAction
(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, MetadataDeleteIndexService deleteIndexService) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockException
checkBlock
(DeleteDataStreamAction.Request request, ClusterState state) protected void
clusterManagerOperation
(DeleteDataStreamAction.Request request, ClusterState state, org.opensearch.core.action.ActionListener<AcknowledgedResponse> listener) protected String
executor()
protected AcknowledgedResponse
read
(org.opensearch.core.common.io.stream.StreamInput in) Methods inherited from class org.opensearch.action.support.clustermanager.TransportClusterManagerNodeAction
clusterManagerOperation, doExecute, getClusterManagerActionName, getMasterActionName, localExecute, localExecuteSupportedByAction, masterOperation, masterOperation
Methods inherited from class org.opensearch.action.support.TransportAction
execute, execute, execute
-
Constructor Details
-
TransportAction
@Inject public TransportAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, MetadataDeleteIndexService deleteIndexService)
-
-
Method Details
-
executor
- Specified by:
executor
in classTransportClusterManagerNodeAction<DeleteDataStreamAction.Request,
AcknowledgedResponse>
-
read
protected AcknowledgedResponse read(org.opensearch.core.common.io.stream.StreamInput in) throws IOException - Specified by:
read
in classTransportClusterManagerNodeAction<DeleteDataStreamAction.Request,
AcknowledgedResponse> - Throws:
IOException
-
clusterManagerOperation
protected void clusterManagerOperation(DeleteDataStreamAction.Request request, ClusterState state, org.opensearch.core.action.ActionListener<AcknowledgedResponse> listener) throws Exception - Overrides:
clusterManagerOperation
in classTransportClusterManagerNodeAction<DeleteDataStreamAction.Request,
AcknowledgedResponse> - Throws:
Exception
-
checkBlock
protected ClusterBlockException checkBlock(DeleteDataStreamAction.Request request, ClusterState state) - Specified by:
checkBlock
in classTransportClusterManagerNodeAction<DeleteDataStreamAction.Request,
AcknowledgedResponse>
-