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

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<ClusterUpdateSettingsRequest,ClusterUpdateSettingsResponse>
              extended by org.elasticsearch.action.admin.cluster.settings.TransportClusterUpdateSettingsAction

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.TransportAction
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  String executor()
           
protected  ClusterUpdateSettingsResponse masterOperation(ClusterUpdateSettingsRequest request, ClusterState state)
           
protected  ClusterUpdateSettingsRequest newRequest()
           
protected  ClusterUpdateSettingsResponse 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

TransportClusterUpdateSettingsAction

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

executor

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

transportAction

protected 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


Copyright © 2009-2012. All Rights Reserved.