org.elasticsearch.action.admin.cluster.health
Class TransportClusterHealthAction

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<ClusterHealthRequest,ClusterHealthResponse>
              extended by org.elasticsearch.action.admin.cluster.health.TransportClusterHealthAction

public class TransportClusterHealthAction
extends TransportMasterNodeOperationAction<ClusterHealthRequest,ClusterHealthResponse>


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
TransportClusterHealthAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ClusterName clusterName)
           
 
Method Summary
protected  String executor()
           
protected  ClusterHealthResponse masterOperation(ClusterHealthRequest request, ClusterState unusedState)
           
protected  ClusterHealthRequest newRequest()
           
protected  ClusterHealthResponse 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

TransportClusterHealthAction

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

executor

protected String executor()
Specified by:
executor in class TransportMasterNodeOperationAction<ClusterHealthRequest,ClusterHealthResponse>

transportAction

protected String transportAction()
Specified by:
transportAction in class TransportMasterNodeOperationAction<ClusterHealthRequest,ClusterHealthResponse>

newRequest

protected ClusterHealthRequest newRequest()
Specified by:
newRequest in class TransportMasterNodeOperationAction<ClusterHealthRequest,ClusterHealthResponse>

newResponse

protected ClusterHealthResponse newResponse()
Specified by:
newResponse in class TransportMasterNodeOperationAction<ClusterHealthRequest,ClusterHealthResponse>

masterOperation

protected ClusterHealthResponse masterOperation(ClusterHealthRequest request,
                                                ClusterState unusedState)
                                         throws ElasticSearchException
Specified by:
masterOperation in class TransportMasterNodeOperationAction<ClusterHealthRequest,ClusterHealthResponse>
Throws:
ElasticSearchException


Copyright © 2009-2012. All Rights Reserved.