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, transportNodeActionFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, localConnection, logger, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportFindDanglingIndexAction(ThreadPool threadPool, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, DanglingIndicesState danglingIndicesState) -
Method Summary
Modifier and TypeMethodDescriptionprotected NodeFindDanglingIndexRequestnewNodeRequest(FindDanglingIndexRequest request)protected NodeFindDanglingIndexResponseprotected FindDanglingIndexResponsenewResponse(FindDanglingIndexRequest request, List<NodeFindDanglingIndexResponse> nodeResponses, List<FailedNodeException> failures)Create a newTransportNodesAction(multi-node response).protected NodeFindDanglingIndexResponseMethods inherited from class org.elasticsearch.action.support.nodes.TransportNodesAction
doExecute, getTransportNodeAction, newResponseAsync, nodeOperation, resolveRequestMethods 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:TransportNodesActionCreate a newTransportNodesAction(multi-node response).- Specified by:
newResponsein 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:
newNodeResponsein classTransportNodesAction<FindDanglingIndexRequest,FindDanglingIndexResponse,NodeFindDanglingIndexRequest,NodeFindDanglingIndexResponse>- Throws:
IOException
-
nodeOperation
-