org.elasticsearch.action.admin.cluster.node.info
Class TransportNodesInfoAction

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<NodesInfoRequest,NodesInfoResponse,org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.NodeInfoRequest,NodeInfo>
              extended by org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction

public class TransportNodesInfoAction
extends TransportNodesOperationAction<NodesInfoRequest,NodesInfoResponse,org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.NodeInfoRequest,NodeInfo>


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
TransportNodesInfoAction(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.info.TransportNodesInfoAction.NodeInfoRequest newNodeRequest()
           
protected  org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.NodeInfoRequest newNodeRequest(String nodeId, NodesInfoRequest request)
           
protected  NodeInfo newNodeResponse()
           
protected  NodesInfoRequest newRequest()
           
protected  NodesInfoResponse newResponse(NodesInfoRequest nodesInfoRequest, AtomicReferenceArray responses)
           
protected  NodeInfo nodeOperation(org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.NodeInfoRequest nodeRequest)
           
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

TransportNodesInfoAction

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

executor

protected String executor()
Specified by:
executor in class TransportNodesOperationAction<NodesInfoRequest,NodesInfoResponse,org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.NodeInfoRequest,NodeInfo>

transportAction

protected String transportAction()
Specified by:
transportAction in class TransportNodesOperationAction<NodesInfoRequest,NodesInfoResponse,org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.NodeInfoRequest,NodeInfo>

newResponse

protected NodesInfoResponse newResponse(NodesInfoRequest nodesInfoRequest,
                                        AtomicReferenceArray responses)
Specified by:
newResponse in class TransportNodesOperationAction<NodesInfoRequest,NodesInfoResponse,org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.NodeInfoRequest,NodeInfo>

newRequest

protected NodesInfoRequest newRequest()
Specified by:
newRequest in class TransportNodesOperationAction<NodesInfoRequest,NodesInfoResponse,org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.NodeInfoRequest,NodeInfo>

newNodeRequest

protected org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.NodeInfoRequest newNodeRequest()
Specified by:
newNodeRequest in class TransportNodesOperationAction<NodesInfoRequest,NodesInfoResponse,org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.NodeInfoRequest,NodeInfo>

newNodeRequest

protected org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.NodeInfoRequest newNodeRequest(String nodeId,
                                                                                                                   NodesInfoRequest request)
Specified by:
newNodeRequest in class TransportNodesOperationAction<NodesInfoRequest,NodesInfoResponse,org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.NodeInfoRequest,NodeInfo>

newNodeResponse

protected NodeInfo newNodeResponse()
Specified by:
newNodeResponse in class TransportNodesOperationAction<NodesInfoRequest,NodesInfoResponse,org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.NodeInfoRequest,NodeInfo>

nodeOperation

protected NodeInfo nodeOperation(org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.NodeInfoRequest nodeRequest)
                          throws ElasticSearchException
Specified by:
nodeOperation in class TransportNodesOperationAction<NodesInfoRequest,NodesInfoResponse,org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.NodeInfoRequest,NodeInfo>
Throws:
ElasticSearchException

accumulateExceptions

protected boolean accumulateExceptions()
Specified by:
accumulateExceptions in class TransportNodesOperationAction<NodesInfoRequest,NodesInfoResponse,org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.NodeInfoRequest,NodeInfo>


Copyright © 2009-2012. All Rights Reserved.