org.elasticsearch.action.admin.indices.delete
Class TransportDeleteIndexAction

java.lang.Object
  extended by org.elasticsearch.common.component.AbstractComponent
      extended by org.elasticsearch.action.support.BaseAction<Request,Response>
          extended by org.elasticsearch.action.support.master.TransportMasterNodeOperationAction<DeleteIndexRequest,DeleteIndexResponse>
              extended by org.elasticsearch.action.admin.indices.delete.TransportDeleteIndexAction
All Implemented Interfaces:
Action<DeleteIndexRequest,DeleteIndexResponse>

public class TransportDeleteIndexAction
extends TransportMasterNodeOperationAction<DeleteIndexRequest,DeleteIndexResponse>

Delete index action.


Field Summary
 
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeOperationAction
clusterService, threadPool, transportService
 
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
componentSettings, logger, settings
 
Constructor Summary
TransportDeleteIndexAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetaDataDeleteIndexService deleteIndexService)
           
 
Method Summary
protected  void checkBlock(DeleteIndexRequest request, ClusterState state)
           
protected  DeleteIndexResponse masterOperation(DeleteIndexRequest request, ClusterState state)
           
protected  DeleteIndexRequest newRequest()
           
protected  DeleteIndexResponse newResponse()
           
protected  java.lang.String transportAction()
           
 
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeOperationAction
doExecute, localExecute, processBeforeDelegationToMaster
 
Methods inherited from class org.elasticsearch.action.support.BaseAction
execute, execute
 
Methods inherited from class org.elasticsearch.common.component.AbstractComponent
nodeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransportDeleteIndexAction

@Inject
public TransportDeleteIndexAction(Settings settings,
                                         TransportService transportService,
                                         ClusterService clusterService,
                                         ThreadPool threadPool,
                                         MetaDataDeleteIndexService deleteIndexService)
Method Detail

transportAction

protected java.lang.String transportAction()
Specified by:
transportAction in class TransportMasterNodeOperationAction<DeleteIndexRequest,DeleteIndexResponse>

newRequest

protected DeleteIndexRequest newRequest()
Specified by:
newRequest in class TransportMasterNodeOperationAction<DeleteIndexRequest,DeleteIndexResponse>

newResponse

protected DeleteIndexResponse newResponse()
Specified by:
newResponse in class TransportMasterNodeOperationAction<DeleteIndexRequest,DeleteIndexResponse>

checkBlock

protected void checkBlock(DeleteIndexRequest request,
                          ClusterState state)
Overrides:
checkBlock in class TransportMasterNodeOperationAction<DeleteIndexRequest,DeleteIndexResponse>

masterOperation

protected DeleteIndexResponse masterOperation(DeleteIndexRequest request,
                                              ClusterState state)
                                       throws ElasticSearchException
Specified by:
masterOperation in class TransportMasterNodeOperationAction<DeleteIndexRequest,DeleteIndexResponse>
Throws:
ElasticSearchException