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
Constructors Constructor Description TransportFindDanglingIndexAction(ThreadPool threadPool, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, DanglingIndicesState danglingIndicesState) -
Method Summary
Modifier and Type Method Description protected NodeFindDanglingIndexRequestnewNodeRequest(FindDanglingIndexRequest request)protected NodeFindDanglingIndexResponsenewNodeResponse(StreamInput in)protected FindDanglingIndexResponsenewResponse(FindDanglingIndexRequest request, java.util.List<NodeFindDanglingIndexResponse> nodeResponses, java.util.List<FailedNodeException> failures)Create a newTransportNodesAction(multi-node response).protected NodeFindDanglingIndexResponsenodeOperation(NodeFindDanglingIndexRequest request)Methods inherited from class org.elasticsearch.action.support.nodes.TransportNodesAction
doExecute, getTransportNodeAction, newResponseAsync, nodeOperation, resolveRequestMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, executeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
TransportFindDanglingIndexAction
@Inject public TransportFindDanglingIndexAction(ThreadPool threadPool, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, DanglingIndicesState danglingIndicesState)
-
-
Method Details
-
newResponse
protected FindDanglingIndexResponse newResponse(FindDanglingIndexRequest request, java.util.List<NodeFindDanglingIndexResponse> nodeResponses, java.util.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:
java.io.IOException
-
nodeOperation
-