org.elasticsearch.action.admin.cluster.settings
Class TransportClusterUpdateSettingsAction

java.lang.Object
  extended by org.elasticsearch.common.component.AbstractComponent
      extended by org.elasticsearch.action.support.BaseAction<Request,Response>
          extended by org.elasticsearch.action.support.master.TransportMasterNodeOperationAction<ClusterUpdateSettingsRequest,ClusterUpdateSettingsResponse>
              extended by org.elasticsearch.action.admin.cluster.settings.TransportClusterUpdateSettingsAction
All Implemented Interfaces:
Action<ClusterUpdateSettingsRequest,ClusterUpdateSettingsResponse>

public class TransportClusterUpdateSettingsAction
extends TransportMasterNodeOperationAction<ClusterUpdateSettingsRequest,ClusterUpdateSettingsResponse>


Field Summary
 
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeOperationAction
clusterService, transportService
 
Fields inherited from class org.elasticsearch.action.support.BaseAction
threadPool
 
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
componentSettings, logger, settings
 
Constructor Summary
TransportClusterUpdateSettingsAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, AllocationService allocationService)
           
 
Method Summary
protected  java.lang.String executor()
           
protected  ClusterUpdateSettingsResponse masterOperation(ClusterUpdateSettingsRequest request, ClusterState state)
           
protected  ClusterUpdateSettingsRequest newRequest()
           
protected  ClusterUpdateSettingsResponse newResponse()
           
protected  java.lang.String transportAction()
           
 
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeOperationAction
checkBlock, doExecute, localExecute, processBeforeDelegationToMaster
 
Methods inherited from class org.elasticsearch.action.support.BaseAction
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

TransportClusterUpdateSettingsAction

@Inject
public TransportClusterUpdateSettingsAction(Settings settings,
                                                   TransportService transportService,
                                                   ClusterService clusterService,
                                                   ThreadPool threadPool,
                                                   AllocationService allocationService)
Method Detail

executor

protected java.lang.String executor()
Specified by:
executor in class TransportMasterNodeOperationAction<ClusterUpdateSettingsRequest,ClusterUpdateSettingsResponse>

transportAction

protected java.lang.String transportAction()
Specified by:
transportAction in class TransportMasterNodeOperationAction<ClusterUpdateSettingsRequest,ClusterUpdateSettingsResponse>

newRequest

protected ClusterUpdateSettingsRequest newRequest()
Specified by:
newRequest in class TransportMasterNodeOperationAction<ClusterUpdateSettingsRequest,ClusterUpdateSettingsResponse>

newResponse

protected ClusterUpdateSettingsResponse newResponse()
Specified by:
newResponse in class TransportMasterNodeOperationAction<ClusterUpdateSettingsRequest,ClusterUpdateSettingsResponse>

masterOperation

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