org.elasticsearch.action.admin.cluster.state
Class TransportClusterStateAction

java.lang.Object
  extended by org.elasticsearch.util.component.AbstractComponent
      extended by org.elasticsearch.action.support.BaseAction<Request,Response>
          extended by org.elasticsearch.action.support.master.TransportMasterNodeOperationAction<ClusterStateRequest,ClusterStateResponse>
              extended by org.elasticsearch.action.admin.cluster.state.TransportClusterStateAction
All Implemented Interfaces:
Action<ClusterStateRequest,ClusterStateResponse>

public class TransportClusterStateAction
extends TransportMasterNodeOperationAction<ClusterStateRequest,ClusterStateResponse>


Field Summary
 
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeOperationAction
clusterService, threadPool, transportService
 
Fields inherited from class org.elasticsearch.util.component.AbstractComponent
componentSettings, logger, settings
 
Constructor Summary
TransportClusterStateAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool)
           
 
Method Summary
protected  ClusterStateResponse masterOperation(ClusterStateRequest request)
           
protected  ClusterStateRequest newRequest()
           
protected  ClusterStateResponse newResponse()
           
protected  java.lang.String transportAction()
           
 
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeOperationAction
doExecute
 
Methods inherited from class org.elasticsearch.action.support.BaseAction
execute, execute
 
Methods inherited from class org.elasticsearch.util.component.AbstractComponent
nodeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransportClusterStateAction

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

transportAction

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

newRequest

protected ClusterStateRequest newRequest()
Specified by:
newRequest in class TransportMasterNodeOperationAction<ClusterStateRequest,ClusterStateResponse>

newResponse

protected ClusterStateResponse newResponse()
Specified by:
newResponse in class TransportMasterNodeOperationAction<ClusterStateRequest,ClusterStateResponse>

masterOperation

protected ClusterStateResponse masterOperation(ClusterStateRequest request)
                                        throws ElasticSearchException
Specified by:
masterOperation in class TransportMasterNodeOperationAction<ClusterStateRequest,ClusterStateResponse>
Throws:
ElasticSearchException