org.elasticsearch.action.admin.cluster.node.stats
Class TransportNodesStatsAction

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.nodes.TransportNodesOperationAction<NodesStatsRequest,NodesStatsResponse,org.elasticsearch.action.admin.cluster.node.stats.TransportNodesStatsAction.NodeStatsRequest,NodeStats>
              extended by org.elasticsearch.action.admin.cluster.node.stats.TransportNodesStatsAction

public class TransportNodesStatsAction
extends TransportNodesOperationAction<NodesStatsRequest,NodesStatsResponse,org.elasticsearch.action.admin.cluster.node.stats.TransportNodesStatsAction.NodeStatsRequest,NodeStats>


Field Summary
 
Fields inherited from class org.elasticsearch.action.support.nodes.TransportNodesOperationAction
clusterName, 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
TransportNodesStatsAction(Settings settings, ClusterName clusterName, ThreadPool threadPool, ClusterService clusterService, TransportService transportService, NodeService nodeService)
           
 
Method Summary
protected  boolean accumulateExceptions()
           
protected  String executor()
           
protected  org.elasticsearch.action.admin.cluster.node.stats.TransportNodesStatsAction.NodeStatsRequest newNodeRequest()
           
protected  org.elasticsearch.action.admin.cluster.node.stats.TransportNodesStatsAction.NodeStatsRequest newNodeRequest(String nodeId, NodesStatsRequest request)
           
protected  NodeStats newNodeResponse()
           
protected  NodesStatsRequest newRequest()
           
protected  NodesStatsResponse newResponse(NodesStatsRequest nodesInfoRequest, AtomicReferenceArray responses)
           
protected  NodeStats nodeOperation(org.elasticsearch.action.admin.cluster.node.stats.TransportNodesStatsAction.NodeStatsRequest nodeStatsRequest)
           
protected  String transportAction()
           
 
Methods inherited from class org.elasticsearch.action.support.nodes.TransportNodesOperationAction
doExecute, filterNodeIds, transportCompress
 
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

TransportNodesStatsAction

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

executor

protected String executor()
Specified by:
executor in class TransportNodesOperationAction<NodesStatsRequest,NodesStatsResponse,org.elasticsearch.action.admin.cluster.node.stats.TransportNodesStatsAction.NodeStatsRequest,NodeStats>

transportAction

protected String transportAction()
Specified by:
transportAction in class TransportNodesOperationAction<NodesStatsRequest,NodesStatsResponse,org.elasticsearch.action.admin.cluster.node.stats.TransportNodesStatsAction.NodeStatsRequest,NodeStats>

newResponse

protected NodesStatsResponse newResponse(NodesStatsRequest nodesInfoRequest,
                                         AtomicReferenceArray responses)
Specified by:
newResponse in class TransportNodesOperationAction<NodesStatsRequest,NodesStatsResponse,org.elasticsearch.action.admin.cluster.node.stats.TransportNodesStatsAction.NodeStatsRequest,NodeStats>

newRequest

protected NodesStatsRequest newRequest()
Specified by:
newRequest in class TransportNodesOperationAction<NodesStatsRequest,NodesStatsResponse,org.elasticsearch.action.admin.cluster.node.stats.TransportNodesStatsAction.NodeStatsRequest,NodeStats>

newNodeRequest

protected org.elasticsearch.action.admin.cluster.node.stats.TransportNodesStatsAction.NodeStatsRequest newNodeRequest()
Specified by:
newNodeRequest in class TransportNodesOperationAction<NodesStatsRequest,NodesStatsResponse,org.elasticsearch.action.admin.cluster.node.stats.TransportNodesStatsAction.NodeStatsRequest,NodeStats>

newNodeRequest

protected org.elasticsearch.action.admin.cluster.node.stats.TransportNodesStatsAction.NodeStatsRequest newNodeRequest(String nodeId,
                                                                                                                      NodesStatsRequest request)
Specified by:
newNodeRequest in class TransportNodesOperationAction<NodesStatsRequest,NodesStatsResponse,org.elasticsearch.action.admin.cluster.node.stats.TransportNodesStatsAction.NodeStatsRequest,NodeStats>

newNodeResponse

protected NodeStats newNodeResponse()
Specified by:
newNodeResponse in class TransportNodesOperationAction<NodesStatsRequest,NodesStatsResponse,org.elasticsearch.action.admin.cluster.node.stats.TransportNodesStatsAction.NodeStatsRequest,NodeStats>

nodeOperation

protected NodeStats nodeOperation(org.elasticsearch.action.admin.cluster.node.stats.TransportNodesStatsAction.NodeStatsRequest nodeStatsRequest)
                           throws ElasticSearchException
Specified by:
nodeOperation in class TransportNodesOperationAction<NodesStatsRequest,NodesStatsResponse,org.elasticsearch.action.admin.cluster.node.stats.TransportNodesStatsAction.NodeStatsRequest,NodeStats>
Throws:
ElasticSearchException

accumulateExceptions

protected boolean accumulateExceptions()
Specified by:
accumulateExceptions in class TransportNodesOperationAction<NodesStatsRequest,NodesStatsResponse,org.elasticsearch.action.admin.cluster.node.stats.TransportNodesStatsAction.NodeStatsRequest,NodeStats>


Copyright © 2009-2012. All Rights Reserved.