Class TransportNodesHotThreadsAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<NodesRequest,NodesResponse>
org.elasticsearch.action.support.nodes.TransportNodesAction<NodesHotThreadsRequest,NodesHotThreadsResponse,TransportNodesHotThreadsAction.NodeRequest,NodeHotThreads>
org.elasticsearch.action.admin.cluster.node.hotthreads.TransportNodesHotThreadsAction
public class TransportNodesHotThreadsAction
extends TransportNodesAction<NodesHotThreadsRequest,NodesHotThreadsResponse,TransportNodesHotThreadsAction.NodeRequest,NodeHotThreads>
-
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
ConstructorDescriptionTransportNodesHotThreadsAction(ThreadPool threadPool, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters)
-
Method Summary
Modifier and TypeMethodDescriptionnewNodeRequest(NodesHotThreadsRequest request)
protected NodeHotThreads
protected NodesHotThreadsResponse
newResponse(NodesHotThreadsRequest request, List<NodeHotThreads> responses, List<FailedNodeException> failures)
Create a newTransportNodesAction
(multi-node response).protected NodeHotThreads
Methods inherited from class org.elasticsearch.action.support.nodes.TransportNodesAction
doExecute, getTransportNodeAction, newResponseAsync, nodeOperation, resolveRequest
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
Constructor Details
-
TransportNodesHotThreadsAction
@Inject public TransportNodesHotThreadsAction(ThreadPool threadPool, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters)
-
-
Method Details
-
newResponse
protected NodesHotThreadsResponse newResponse(NodesHotThreadsRequest request, List<NodeHotThreads> responses, List<FailedNodeException> failures)Description copied from class:TransportNodesAction
Create a newTransportNodesAction
(multi-node response).- Specified by:
newResponse
in classTransportNodesAction<NodesHotThreadsRequest,NodesHotThreadsResponse,TransportNodesHotThreadsAction.NodeRequest,NodeHotThreads>
- 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<NodesHotThreadsRequest,NodesHotThreadsResponse,TransportNodesHotThreadsAction.NodeRequest,NodeHotThreads>
- Throws:
IOException
-
nodeOperation
-