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

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<ClusterStateRequest,ClusterStateResponse>
              extended by org.elasticsearch.action.admin.cluster.state.TransportClusterStateAction

public class TransportClusterStateAction
extends TransportMasterNodeOperationAction<ClusterStateRequest,ClusterStateResponse>


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
TransportClusterStateAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ClusterName clusterName)
           
 
Method Summary
protected  String executor()
           
protected  boolean localExecute(ClusterStateRequest request)
           
protected  ClusterStateResponse masterOperation(ClusterStateRequest request, ClusterState state)
           
protected  ClusterStateRequest newRequest()
           
protected  ClusterStateResponse newResponse()
           
protected  String transportAction()
           
 
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeOperationAction
checkBlock, doExecute, 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

TransportClusterStateAction

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

executor

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

transportAction

protected 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>

localExecute

protected boolean localExecute(ClusterStateRequest request)
Overrides:
localExecute in class TransportMasterNodeOperationAction<ClusterStateRequest,ClusterStateResponse>

masterOperation

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


Copyright © 2009-2012. All Rights Reserved.