org.elasticsearch.action.admin.indices.template.delete
Class TransportDeleteIndexTemplateAction

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<DeleteIndexTemplateRequest,DeleteIndexTemplateResponse>
              extended by org.elasticsearch.action.admin.indices.template.delete.TransportDeleteIndexTemplateAction

public class TransportDeleteIndexTemplateAction
extends TransportMasterNodeOperationAction<DeleteIndexTemplateRequest,DeleteIndexTemplateResponse>

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
TransportDeleteIndexTemplateAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetaDataIndexTemplateService indexTemplateService)
           
 
Method Summary
protected  ClusterBlockException checkBlock(DeleteIndexTemplateRequest request, ClusterState state)
           
protected  String executor()
           
protected  DeleteIndexTemplateResponse masterOperation(DeleteIndexTemplateRequest request, ClusterState state)
           
protected  DeleteIndexTemplateRequest newRequest()
           
protected  DeleteIndexTemplateResponse newResponse()
           
protected  String transportAction()
           
 
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeOperationAction
doExecute, 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

TransportDeleteIndexTemplateAction

@Inject
public TransportDeleteIndexTemplateAction(Settings settings,
                                                 TransportService transportService,
                                                 ClusterService clusterService,
                                                 ThreadPool threadPool,
                                                 MetaDataIndexTemplateService indexTemplateService)
Method Detail

executor

protected String executor()
Specified by:
executor in class TransportMasterNodeOperationAction<DeleteIndexTemplateRequest,DeleteIndexTemplateResponse>

transportAction

protected String transportAction()
Specified by:
transportAction in class TransportMasterNodeOperationAction<DeleteIndexTemplateRequest,DeleteIndexTemplateResponse>

newRequest

protected DeleteIndexTemplateRequest newRequest()
Specified by:
newRequest in class TransportMasterNodeOperationAction<DeleteIndexTemplateRequest,DeleteIndexTemplateResponse>

newResponse

protected DeleteIndexTemplateResponse newResponse()
Specified by:
newResponse in class TransportMasterNodeOperationAction<DeleteIndexTemplateRequest,DeleteIndexTemplateResponse>

checkBlock

protected ClusterBlockException checkBlock(DeleteIndexTemplateRequest request,
                                           ClusterState state)
Overrides:
checkBlock in class TransportMasterNodeOperationAction<DeleteIndexTemplateRequest,DeleteIndexTemplateResponse>

masterOperation

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


Copyright © 2009-2012. All Rights Reserved.