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

java.lang.Object
  extended by org.elasticsearch.common.component.AbstractComponent
      extended by org.elasticsearch.action.support.TransportAction<Request,Response>
          extended by org.elasticsearch.action.support.master.TransportMasterNodeOperationAction<DeleteIndexRequest,DeleteIndexResponse>
              extended by org.elasticsearch.action.admin.indices.delete.TransportDeleteIndexAction

public class TransportDeleteIndexAction
extends TransportMasterNodeOperationAction<DeleteIndexRequest,DeleteIndexResponse>

Delete index action.


Field Summary
 
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeOperationAction
clusterService, transportService
 
Fields inherited from class org.elasticsearch.action.support.TransportAction
threadPool
 
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, TransportDeleteMappingAction deleteMappingAction)
           
 
Method Summary
protected  ClusterBlockException checkBlock(DeleteIndexRequest request, ClusterState state)
           
protected  void doExecute(DeleteIndexRequest request, ActionListener<DeleteIndexResponse> listener)
           
protected  String executor()
           
protected  DeleteIndexResponse masterOperation(DeleteIndexRequest request, ClusterState state)
           
protected  DeleteIndexRequest newRequest()
           
protected  DeleteIndexResponse newResponse()
           
protected  String transportAction()
           
 
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeOperationAction
localExecute, processBeforeDelegationToMaster
 
Methods inherited from class org.elasticsearch.action.support.TransportAction
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,
                                         TransportDeleteMappingAction deleteMappingAction)
Method Detail

executor

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

transportAction

protected 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>

doExecute

protected void doExecute(DeleteIndexRequest request,
                         ActionListener<DeleteIndexResponse> listener)
Overrides:
doExecute in class TransportMasterNodeOperationAction<DeleteIndexRequest,DeleteIndexResponse>

checkBlock

protected ClusterBlockException 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


Copyright © 2009-2012. All Rights Reserved.