org.elasticsearch.action.admin.indices.template.put
Class TransportPutIndexTemplateAction

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<PutIndexTemplateRequest,PutIndexTemplateResponse>
              extended by org.elasticsearch.action.admin.indices.template.put.TransportPutIndexTemplateAction

public class TransportPutIndexTemplateAction
extends TransportMasterNodeOperationAction<PutIndexTemplateRequest,PutIndexTemplateResponse>

Put index template 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
TransportPutIndexTemplateAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetaDataIndexTemplateService indexTemplateService)
           
 
Method Summary
protected  ClusterBlockException checkBlock(PutIndexTemplateRequest request, ClusterState state)
           
protected  String executor()
           
protected  PutIndexTemplateResponse masterOperation(PutIndexTemplateRequest request, ClusterState state)
           
protected  PutIndexTemplateRequest newRequest()
           
protected  PutIndexTemplateResponse 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

TransportPutIndexTemplateAction

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

executor

protected String executor()
Specified by:
executor in class TransportMasterNodeOperationAction<PutIndexTemplateRequest,PutIndexTemplateResponse>

transportAction

protected String transportAction()
Specified by:
transportAction in class TransportMasterNodeOperationAction<PutIndexTemplateRequest,PutIndexTemplateResponse>

newRequest

protected PutIndexTemplateRequest newRequest()
Specified by:
newRequest in class TransportMasterNodeOperationAction<PutIndexTemplateRequest,PutIndexTemplateResponse>

newResponse

protected PutIndexTemplateResponse newResponse()
Specified by:
newResponse in class TransportMasterNodeOperationAction<PutIndexTemplateRequest,PutIndexTemplateResponse>

checkBlock

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

masterOperation

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


Copyright © 2009-2012. All Rights Reserved.