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

java.lang.Object
  extended by org.elasticsearch.util.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.util.component.AbstractComponent
componentSettings, logger, settings
 
Constructor Summary
TransportDeleteIndexAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetaDataService metaDataService)
           
 
Method Summary
protected  DeleteIndexResponse masterOperation(DeleteIndexRequest request)
           
protected  DeleteIndexRequest newRequest()
           
protected  DeleteIndexResponse newResponse()
           
protected  java.lang.String transportAction()
           
 
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeOperationAction
doExecute
 
Methods inherited from class org.elasticsearch.action.support.BaseAction
execute, execute
 
Methods inherited from class org.elasticsearch.util.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,
                                         MetaDataService metaDataService)
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>

masterOperation

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