Class TransportImportDanglingIndexAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<ImportDanglingIndexRequest,AcknowledgedResponse>
org.elasticsearch.action.admin.indices.dangling.import_index.TransportImportDanglingIndexAction
public class TransportImportDanglingIndexAction
extends HandledTransportAction<ImportDanglingIndexRequest,AcknowledgedResponse>
Implements the import of a dangling index. When handling a
ImportDanglingIndexAction
,
this class first checks that such a dangling index exists. It then calls LocalAllocateDangledIndices
to perform the actual allocation.-
Field Summary
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, localConnection, taskManager
-
Constructor Summary
ConstructorDescriptionTransportImportDanglingIndexAction(ActionFilters actionFilters, TransportService transportService, LocalAllocateDangledIndices danglingIndexAllocator, NodeClient nodeClient)
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doExecute(Task task, ImportDanglingIndexRequest importRequest, ActionListener<AcknowledgedResponse> importListener)
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
Constructor Details
-
TransportImportDanglingIndexAction
@Inject public TransportImportDanglingIndexAction(ActionFilters actionFilters, TransportService transportService, LocalAllocateDangledIndices danglingIndexAllocator, NodeClient nodeClient)
-
-
Method Details
-
doExecute
protected void doExecute(Task task, ImportDanglingIndexRequest importRequest, ActionListener<AcknowledgedResponse> importListener)- Specified by:
doExecute
in classTransportAction<ImportDanglingIndexRequest,AcknowledgedResponse>
-