Class TransportClusterStatsAction
- java.lang.Object
-
- org.elasticsearch.common.component.AbstractComponent
-
- org.elasticsearch.action.support.TransportAction<Request,Response>
-
- org.elasticsearch.action.support.HandledTransportAction<NodesRequest,NodesResponse>
-
- org.elasticsearch.action.support.nodes.TransportNodesAction<ClusterStatsRequest,ClusterStatsResponse,TransportClusterStatsAction.ClusterStatsNodeRequest,ClusterStatsNodeResponse>
-
- org.elasticsearch.action.admin.cluster.stats.TransportClusterStatsAction
-
public class TransportClusterStatsAction extends TransportNodesAction<ClusterStatsRequest,ClusterStatsResponse,TransportClusterStatsAction.ClusterStatsNodeRequest,ClusterStatsNodeResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TransportClusterStatsAction.ClusterStatsNodeRequest
-
Field Summary
-
Fields inherited from class org.elasticsearch.action.support.nodes.TransportNodesAction
clusterService, nodeResponseClass, transportService
-
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, indexNameExpressionResolver, taskManager, threadPool
-
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
logger
-
-
Constructor Summary
Constructors Constructor Description TransportClusterStatsAction(Settings settings, ThreadPool threadPool, ClusterService clusterService, TransportService transportService, NodeService nodeService, IndicesService indicesService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
Method Summary
Modifier and Type Method Description protected TransportClusterStatsAction.ClusterStatsNodeRequest
newNodeRequest(java.lang.String nodeId, ClusterStatsRequest request)
protected ClusterStatsNodeResponse
newNodeResponse()
protected ClusterStatsResponse
newResponse(ClusterStatsRequest request, java.util.List<ClusterStatsNodeResponse> responses, java.util.List<FailedNodeException> failures)
Create a newTransportNodesAction
(multi-node response).protected ClusterStatsNodeResponse
nodeOperation(TransportClusterStatsAction.ClusterStatsNodeRequest nodeRequest)
-
Methods inherited from class org.elasticsearch.action.support.nodes.TransportNodesAction
doExecute, doExecute, newResponse, nodeOperation, resolveRequest
-
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute, execute
-
-
-
-
Constructor Detail
-
TransportClusterStatsAction
@Inject public TransportClusterStatsAction(Settings settings, ThreadPool threadPool, ClusterService clusterService, TransportService transportService, NodeService nodeService, IndicesService indicesService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Detail
-
newResponse
protected ClusterStatsResponse newResponse(ClusterStatsRequest request, java.util.List<ClusterStatsNodeResponse> responses, java.util.List<FailedNodeException> failures)
Description copied from class:TransportNodesAction
Create a newTransportNodesAction
(multi-node response).- Specified by:
newResponse
in classTransportNodesAction<ClusterStatsRequest,ClusterStatsResponse,TransportClusterStatsAction.ClusterStatsNodeRequest,ClusterStatsNodeResponse>
- Parameters:
request
- The associated request.responses
- All successful node-level responses.failures
- All node-level failures.- Returns:
- Never
null
.
-
newNodeRequest
protected TransportClusterStatsAction.ClusterStatsNodeRequest newNodeRequest(java.lang.String nodeId, ClusterStatsRequest request)
-
newNodeResponse
protected ClusterStatsNodeResponse newNodeResponse()
-
nodeOperation
protected ClusterStatsNodeResponse nodeOperation(TransportClusterStatsAction.ClusterStatsNodeRequest nodeRequest)
-
-