org.elasticsearch.action.admin.indices.settings
Class TransportUpdateSettingsAction

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<UpdateSettingsRequest,UpdateSettingsResponse>
              extended by org.elasticsearch.action.admin.indices.settings.TransportUpdateSettingsAction

public class TransportUpdateSettingsAction
extends TransportMasterNodeOperationAction<UpdateSettingsRequest,UpdateSettingsResponse>


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
TransportUpdateSettingsAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetaDataUpdateSettingsService updateSettingsService)
           
 
Method Summary
protected  String executor()
           
protected  UpdateSettingsResponse masterOperation(UpdateSettingsRequest request, ClusterState state)
           
protected  UpdateSettingsRequest newRequest()
           
protected  UpdateSettingsResponse newResponse()
           
protected  String transportAction()
           
 
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeOperationAction
checkBlock, 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

TransportUpdateSettingsAction

@Inject
public TransportUpdateSettingsAction(Settings settings,
                                            TransportService transportService,
                                            ClusterService clusterService,
                                            ThreadPool threadPool,
                                            MetaDataUpdateSettingsService updateSettingsService)
Method Detail

executor

protected String executor()
Specified by:
executor in class TransportMasterNodeOperationAction<UpdateSettingsRequest,UpdateSettingsResponse>

transportAction

protected String transportAction()
Specified by:
transportAction in class TransportMasterNodeOperationAction<UpdateSettingsRequest,UpdateSettingsResponse>

newRequest

protected UpdateSettingsRequest newRequest()
Specified by:
newRequest in class TransportMasterNodeOperationAction<UpdateSettingsRequest,UpdateSettingsResponse>

newResponse

protected UpdateSettingsResponse newResponse()
Specified by:
newResponse in class TransportMasterNodeOperationAction<UpdateSettingsRequest,UpdateSettingsResponse>

masterOperation

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


Copyright © 2009-2012. All Rights Reserved.