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