Class TransportFindDanglingIndexAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<NodesRequest,NodesResponse>
org.elasticsearch.action.support.nodes.TransportNodesAction<FindDanglingIndexRequest,FindDanglingIndexResponse,NodeFindDanglingIndexRequest,NodeFindDanglingIndexResponse>
org.elasticsearch.action.admin.indices.dangling.find.TransportFindDanglingIndexAction
public class TransportFindDanglingIndexAction
extends TransportNodesAction<FindDanglingIndexRequest,FindDanglingIndexResponse,NodeFindDanglingIndexRequest,NodeFindDanglingIndexResponse>
Finds a specified dangling index by its UUID, searching across all nodes.
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.nodes.TransportNodesAction
clusterService, nodeResponseClass, threadPool, transportNodeAction
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, localConnection, logger, taskManager
-
Constructor Summary
ConstructorDescriptionTransportFindDanglingIndexAction(ThreadPool threadPool, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, DanglingIndicesState danglingIndicesState)
-
Method Summary
Modifier and TypeMethodDescriptionprotected NodeFindDanglingIndexRequest
newNodeRequest(FindDanglingIndexRequest request)
protected NodeFindDanglingIndexResponse
protected FindDanglingIndexResponse
newResponse(FindDanglingIndexRequest request, List<NodeFindDanglingIndexResponse> nodeResponses, List<FailedNodeException> failures)
Create a newTransportNodesAction
(multi-node response).protected NodeFindDanglingIndexResponse
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
-
TransportFindDanglingIndexAction
@Inject public TransportFindDanglingIndexAction(ThreadPool threadPool, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, DanglingIndicesState danglingIndicesState)
-
-
Method Details
-
newResponse
protected FindDanglingIndexResponse newResponse(FindDanglingIndexRequest request, List<NodeFindDanglingIndexResponse> nodeResponses, List<FailedNodeException> failures)Description copied from class:TransportNodesAction
Create a newTransportNodesAction
(multi-node response).- Specified by:
newResponse
in classTransportNodesAction<FindDanglingIndexRequest,FindDanglingIndexResponse,NodeFindDanglingIndexRequest,NodeFindDanglingIndexResponse>
- Parameters:
request
- The associated request.nodeResponses
- All successful node-level responses.failures
- All node-level failures.- Returns:
- Never
null
.
-
newNodeRequest
-
newNodeResponse
- Specified by:
newNodeResponse
in classTransportNodesAction<FindDanglingIndexRequest,FindDanglingIndexResponse,NodeFindDanglingIndexRequest,NodeFindDanglingIndexResponse>
- Throws:
IOException
-
nodeOperation
-