public class TransportNodesStatsAction extends TransportNodesAction<NodesStatsRequest,NodesStatsResponse,TransportNodesStatsAction.NodeStatsRequest,NodeStats>
Modifier and Type | Class and Description |
---|---|
static class |
TransportNodesStatsAction.NodeStatsRequest |
clusterService, nodeResponseClass, transportService
actionName, indexNameExpressionResolver, taskManager, threadPool
deprecationLogger, logger, settings
Constructor and Description |
---|
TransportNodesStatsAction(Settings settings,
ThreadPool threadPool,
ClusterService clusterService,
TransportService transportService,
NodeService nodeService,
ActionFilters actionFilters,
IndexNameExpressionResolver indexNameExpressionResolver) |
Modifier and Type | Method and Description |
---|---|
protected TransportNodesStatsAction.NodeStatsRequest |
newNodeRequest(java.lang.String nodeId,
NodesStatsRequest request) |
protected NodeStats |
newNodeResponse() |
protected NodesStatsResponse |
newResponse(NodesStatsRequest request,
java.util.List<NodeStats> responses,
java.util.List<FailedNodeException> failures)
Create a new
NodesResponse (multi-node response). |
protected NodeStats |
nodeOperation(TransportNodesStatsAction.NodeStatsRequest nodeStatsRequest) |
doExecute, doExecute, newResponse, nodeOperation, resolveRequest, transportCompress
execute, execute, execute, execute
logDeprecatedSetting, logRemovedSetting, nodeName
@Inject public TransportNodesStatsAction(Settings settings, ThreadPool threadPool, ClusterService clusterService, TransportService transportService, NodeService nodeService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
protected NodesStatsResponse newResponse(NodesStatsRequest request, java.util.List<NodeStats> responses, java.util.List<FailedNodeException> failures)
TransportNodesAction
NodesResponse
(multi-node response).newResponse
in class TransportNodesAction<NodesStatsRequest,NodesStatsResponse,TransportNodesStatsAction.NodeStatsRequest,NodeStats>
request
- The associated request.responses
- All successful node-level responses.failures
- All node-level failures.null
.protected TransportNodesStatsAction.NodeStatsRequest newNodeRequest(java.lang.String nodeId, NodesStatsRequest request)
protected NodeStats newNodeResponse()
protected NodeStats nodeOperation(TransportNodesStatsAction.NodeStatsRequest nodeStatsRequest)