Class TransportDeleteIndexAction
- java.lang.Object
-
- org.elasticsearch.common.component.AbstractComponent
-
- org.elasticsearch.action.support.TransportAction<Request,Response>
-
- org.elasticsearch.action.support.HandledTransportAction<Request,Response>
-
- org.elasticsearch.action.support.master.TransportMasterNodeAction<DeleteIndexRequest,DeleteIndexResponse>
-
- org.elasticsearch.action.admin.indices.delete.TransportDeleteIndexAction
-
public class TransportDeleteIndexAction extends TransportMasterNodeAction<DeleteIndexRequest,DeleteIndexResponse>
Delete index action.
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
deprecationLogger, logger, settings
-
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, indexNameExpressionResolver, taskManager, threadPool
-
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, transportService
-
-
Constructor Summary
Constructors Constructor Description TransportDeleteIndexAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetaDataDeleteIndexService deleteIndexService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, DestructiveOperations destructiveOperations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ClusterBlockException
checkBlock(DeleteIndexRequest request, ClusterState state)
protected void
doExecute(Task task, DeleteIndexRequest request, ActionListener<DeleteIndexResponse> listener)
protected java.lang.String
executor()
protected void
masterOperation(DeleteIndexRequest request, ClusterState state, ActionListener<DeleteIndexResponse> listener)
protected DeleteIndexResponse
newResponse()
-
Methods inherited from class org.elasticsearch.common.component.AbstractComponent
logDeprecatedSetting, logRemovedSetting, nodeName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute, execute
-
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, getMasterActionName, localExecute, masterOperation
-
-
-
-
Constructor Detail
-
TransportDeleteIndexAction
@Inject public TransportDeleteIndexAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetaDataDeleteIndexService deleteIndexService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, DestructiveOperations destructiveOperations)
-
-
Method Detail
-
executor
protected java.lang.String executor()
- Specified by:
executor
in classTransportMasterNodeAction<DeleteIndexRequest,DeleteIndexResponse>
-
newResponse
protected DeleteIndexResponse newResponse()
- Specified by:
newResponse
in classTransportMasterNodeAction<DeleteIndexRequest,DeleteIndexResponse>
-
doExecute
protected void doExecute(Task task, DeleteIndexRequest request, ActionListener<DeleteIndexResponse> listener)
- Overrides:
doExecute
in classTransportMasterNodeAction<DeleteIndexRequest,DeleteIndexResponse>
-
checkBlock
protected ClusterBlockException checkBlock(DeleteIndexRequest request, ClusterState state)
- Specified by:
checkBlock
in classTransportMasterNodeAction<DeleteIndexRequest,DeleteIndexResponse>
-
masterOperation
protected void masterOperation(DeleteIndexRequest request, ClusterState state, ActionListener<DeleteIndexResponse> listener)
- Specified by:
masterOperation
in classTransportMasterNodeAction<DeleteIndexRequest,DeleteIndexResponse>
-
-