Class TransportNodesStatsAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<NodesRequest,NodesResponse>
org.elasticsearch.action.support.nodes.TransportNodesAction<NodesStatsRequest,NodesStatsResponse,TransportNodesStatsAction.NodeStatsRequest,NodeStats>
org.elasticsearch.action.admin.cluster.node.stats.TransportNodesStatsAction
public class TransportNodesStatsAction
extends TransportNodesAction<NodesStatsRequest,NodesStatsResponse,TransportNodesStatsAction.NodeStatsRequest,NodeStats>
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.nodes.TransportNodesAction
clusterService, nodeResponseClass, threadPool, transportNodeAction, transportService
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, localConnection, logger, taskManager
-
Constructor Summary
ConstructorDescriptionTransportNodesStatsAction(ThreadPool threadPool, ClusterService clusterService, TransportService transportService, NodeService nodeService, ActionFilters actionFilters)
-
Method Summary
Modifier and TypeMethodDescriptionnewNodeRequest(NodesStatsRequest request)
protected NodeStats
protected NodesStatsResponse
newResponse(NodesStatsRequest request, List<NodeStats> responses, List<FailedNodeException> failures)
Create a newTransportNodesAction
(multi-node response).protected NodeStats
nodeOperation(TransportNodesStatsAction.NodeStatsRequest nodeStatsRequest)
protected NodeStats
nodeOperation(TransportNodesStatsAction.NodeStatsRequest nodeStatsRequest, Task task)
Methods inherited from class org.elasticsearch.action.support.nodes.TransportNodesAction
doExecute, getTransportNodeAction, newResponseAsync, resolveRequest
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
Constructor Details
-
TransportNodesStatsAction
@Inject public TransportNodesStatsAction(ThreadPool threadPool, ClusterService clusterService, TransportService transportService, NodeService nodeService, ActionFilters actionFilters)
-
-
Method Details
-
newResponse
protected NodesStatsResponse newResponse(NodesStatsRequest request, List<NodeStats> responses, List<FailedNodeException> failures)Description copied from class:TransportNodesAction
Create a newTransportNodesAction
(multi-node response).- Specified by:
newResponse
in classTransportNodesAction<NodesStatsRequest,NodesStatsResponse,TransportNodesStatsAction.NodeStatsRequest,NodeStats>
- Parameters:
request
- The associated request.responses
- All successful node-level responses.failures
- All node-level failures.- Returns:
- Never
null
.
-
newNodeRequest
-
newNodeResponse
- Specified by:
newNodeResponse
in classTransportNodesAction<NodesStatsRequest,NodesStatsResponse,TransportNodesStatsAction.NodeStatsRequest,NodeStats>
- Throws:
IOException
-
nodeOperation
protected NodeStats nodeOperation(TransportNodesStatsAction.NodeStatsRequest nodeStatsRequest, Task task) -
nodeOperation
-