Class TransportNodesInfoAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<NodesRequest,NodesResponse>
org.elasticsearch.action.support.nodes.TransportNodesAction<NodesInfoRequest,NodesInfoResponse,TransportNodesInfoAction.NodeInfoRequest,NodeInfo>
org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction
public class TransportNodesInfoAction
extends TransportNodesAction<NodesInfoRequest,NodesInfoResponse,TransportNodesInfoAction.NodeInfoRequest,NodeInfo>
-
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
ConstructorDescriptionTransportNodesInfoAction(ThreadPool threadPool, ClusterService clusterService, TransportService transportService, NodeService nodeService, ActionFilters actionFilters)
-
Method Summary
Modifier and TypeMethodDescriptionprotected TransportNodesInfoAction.NodeInfoRequest
newNodeRequest(NodesInfoRequest request)
protected NodeInfo
protected NodesInfoResponse
newResponse(NodesInfoRequest nodesInfoRequest, List<NodeInfo> responses, List<FailedNodeException> failures)
Create a newTransportNodesAction
(multi-node response).protected NodeInfo
nodeOperation(TransportNodesInfoAction.NodeInfoRequest nodeRequest)
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
-
TransportNodesInfoAction
@Inject public TransportNodesInfoAction(ThreadPool threadPool, ClusterService clusterService, TransportService transportService, NodeService nodeService, ActionFilters actionFilters)
-
-
Method Details
-
newResponse
protected NodesInfoResponse newResponse(NodesInfoRequest nodesInfoRequest, List<NodeInfo> responses, List<FailedNodeException> failures)Description copied from class:TransportNodesAction
Create a newTransportNodesAction
(multi-node response).- Specified by:
newResponse
in classTransportNodesAction<NodesInfoRequest,NodesInfoResponse,TransportNodesInfoAction.NodeInfoRequest,NodeInfo>
- Parameters:
nodesInfoRequest
- The associated request.responses
- All successful node-level responses.failures
- All node-level failures.- Returns:
- Never
null
.
-
newNodeRequest
- Specified by:
newNodeRequest
in classTransportNodesAction<NodesInfoRequest,NodesInfoResponse,TransportNodesInfoAction.NodeInfoRequest,NodeInfo>
-
newNodeResponse
- Specified by:
newNodeResponse
in classTransportNodesAction<NodesInfoRequest,NodesInfoResponse,TransportNodesInfoAction.NodeInfoRequest,NodeInfo>
- Throws:
IOException
-
nodeOperation
- Specified by:
nodeOperation
in classTransportNodesAction<NodesInfoRequest,NodesInfoResponse,TransportNodesInfoAction.NodeInfoRequest,NodeInfo>
-