Package org.elasticsearch.gateway
Class TransportNodesListGatewayMetaState
- 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<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
Nested Classes Modifier and Type Class Description static class
TransportNodesListGatewayMetaState.NodeGatewayMetaState
static class
TransportNodesListGatewayMetaState.NodeRequest
static class
TransportNodesListGatewayMetaState.NodesGatewayMetaState
static class
TransportNodesListGatewayMetaState.Request
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ACTION_NAME
-
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 TransportNodesListGatewayMetaState(Settings settings, ThreadPool threadPool, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, GatewayMetaState metaState)
-
Method Summary
Modifier and Type Method Description ActionFuture<TransportNodesListGatewayMetaState.NodesGatewayMetaState>
list(java.lang.String[] nodesIds, TimeValue timeout)
protected TransportNodesListGatewayMetaState.NodeRequest
newNodeRequest(java.lang.String nodeId, TransportNodesListGatewayMetaState.Request request)
protected TransportNodesListGatewayMetaState.NodeGatewayMetaState
newNodeResponse()
protected TransportNodesListGatewayMetaState.NodesGatewayMetaState
newResponse(TransportNodesListGatewayMetaState.Request request, java.util.List<TransportNodesListGatewayMetaState.NodeGatewayMetaState> responses, java.util.List<FailedNodeException> failures)
Create a newTransportNodesAction
(multi-node response).protected TransportNodesListGatewayMetaState.NodeGatewayMetaState
nodeOperation(TransportNodesListGatewayMetaState.NodeRequest request)
-
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
-
-
-
-
Field Detail
-
ACTION_NAME
public static final java.lang.String ACTION_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TransportNodesListGatewayMetaState
@Inject public TransportNodesListGatewayMetaState(Settings settings, ThreadPool threadPool, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, GatewayMetaState metaState)
-
-
Method Detail
-
list
public ActionFuture<TransportNodesListGatewayMetaState.NodesGatewayMetaState> list(java.lang.String[] nodesIds, @Nullable TimeValue timeout)
-
newNodeRequest
protected TransportNodesListGatewayMetaState.NodeRequest newNodeRequest(java.lang.String nodeId, TransportNodesListGatewayMetaState.Request request)
-
newNodeResponse
protected TransportNodesListGatewayMetaState.NodeGatewayMetaState newNodeResponse()
-
newResponse
protected TransportNodesListGatewayMetaState.NodesGatewayMetaState newResponse(TransportNodesListGatewayMetaState.Request request, java.util.List<TransportNodesListGatewayMetaState.NodeGatewayMetaState> responses, java.util.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)
-
-