Package org.elasticsearch.gateway
Class TransportNodesListGatewayMetaState
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<NodesRequest,NodesResponse>
org.elasticsearch.action.support.nodes.TransportNodesAction<TransportNodesListGatewayMetaState.Request,TransportNodesListGatewayMetaState.NodesGatewayMetaState,TransportNodesListGatewayMetaState.NodeRequest,TransportNodesListGatewayMetaState.NodeGatewayMetaState>
org.elasticsearch.gateway.TransportNodesListGatewayMetaState
public class TransportNodesListGatewayMetaState
extends TransportNodesAction<TransportNodesListGatewayMetaState.Request,TransportNodesListGatewayMetaState.NodesGatewayMetaState,TransportNodesListGatewayMetaState.NodeRequest,TransportNodesListGatewayMetaState.NodeGatewayMetaState>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
-
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
ConstructorDescriptionTransportNodesListGatewayMetaState(ThreadPool threadPool, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, GatewayMetaState metaState)
-
Method Summary
Modifier and TypeMethodDescriptionnewResponse(TransportNodesListGatewayMetaState.Request request, List<TransportNodesListGatewayMetaState.NodeGatewayMetaState> responses, List<FailedNodeException> failures)
Create a newTransportNodesAction
(multi-node response).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
-
Field Details
-
ACTION_NAME
- See Also:
- Constant Field Values
-
TYPE
-
-
Constructor Details
-
TransportNodesListGatewayMetaState
@Inject public TransportNodesListGatewayMetaState(ThreadPool threadPool, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, GatewayMetaState metaState)
-
-
Method Details
-
list
public ActionFuture<TransportNodesListGatewayMetaState.NodesGatewayMetaState> list(String[] nodesIds, @Nullable org.elasticsearch.core.TimeValue timeout) -
newNodeRequest
protected TransportNodesListGatewayMetaState.NodeRequest newNodeRequest(TransportNodesListGatewayMetaState.Request request) -
newNodeResponse
protected TransportNodesListGatewayMetaState.NodeGatewayMetaState newNodeResponse(StreamInput in) throws IOException -
newResponse
protected TransportNodesListGatewayMetaState.NodesGatewayMetaState newResponse(TransportNodesListGatewayMetaState.Request request, List<TransportNodesListGatewayMetaState.NodeGatewayMetaState> responses, List<FailedNodeException> failures)Description copied from class:TransportNodesAction
Create a newTransportNodesAction
(multi-node response).- Specified by:
newResponse
in classTransportNodesAction<TransportNodesListGatewayMetaState.Request,TransportNodesListGatewayMetaState.NodesGatewayMetaState,TransportNodesListGatewayMetaState.NodeRequest,TransportNodesListGatewayMetaState.NodeGatewayMetaState>
- Parameters:
request
- The associated request.responses
- All successful node-level responses.failures
- All node-level failures.- Returns:
- Never
null
.
-
nodeOperation
protected TransportNodesListGatewayMetaState.NodeGatewayMetaState nodeOperation(TransportNodesListGatewayMetaState.NodeRequest request)
-