Class TransportDeleteIndexAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<Request,AcknowledgedResponse>
org.elasticsearch.action.support.master.AcknowledgedTransportMasterNodeAction<DeleteIndexRequest>
org.elasticsearch.action.admin.indices.delete.TransportDeleteIndexAction
public class TransportDeleteIndexAction
extends AcknowledgedTransportMasterNodeAction<DeleteIndexRequest>
Delete index action.
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, executor, indexNameExpressionResolver, threadPool, transportService
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, localConnection, taskManager
-
Constructor Summary
ConstructorDescriptionTransportDeleteIndexAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetadataDeleteIndexService deleteIndexService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, DestructiveOperations destructiveOperations)
-
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockException
checkBlock(DeleteIndexRequest request, ClusterState state)
protected void
doExecute(Task task, DeleteIndexRequest request, ActionListener<AcknowledgedResponse> listener)
protected void
masterOperation(DeleteIndexRequest request, ClusterState state, ActionListener<AcknowledgedResponse> listener)
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
getMasterActionName, localExecute, masterOperation
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
Constructor Details
-
TransportDeleteIndexAction
@Inject public TransportDeleteIndexAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetadataDeleteIndexService deleteIndexService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, DestructiveOperations destructiveOperations)
-
-
Method Details
-
doExecute
protected void doExecute(Task task, DeleteIndexRequest request, ActionListener<AcknowledgedResponse> listener)- Overrides:
doExecute
in classTransportMasterNodeAction<DeleteIndexRequest,AcknowledgedResponse>
-
checkBlock
- Specified by:
checkBlock
in classTransportMasterNodeAction<DeleteIndexRequest,AcknowledgedResponse>
-
masterOperation
protected void masterOperation(DeleteIndexRequest request, ClusterState state, ActionListener<AcknowledgedResponse> listener)- Specified by:
masterOperation
in classTransportMasterNodeAction<DeleteIndexRequest,AcknowledgedResponse>
-