use of org.elasticsearch.indices.recovery.BlobStartRecoveryRequest in project crate by crate.
the class BlobRecoveryHandler method sendStartRecoveryRequest.
private void sendStartRecoveryRequest() {
var listener = new PlainActionFuture<TransportResponse>();
transportService.sendRequest(request.targetNode(), BlobRecoveryTarget.Actions.START_RECOVERY, new BlobStartRecoveryRequest(request.recoveryId(), request.shardId()), TransportRequestOptions.EMPTY, new ActionListenerResponseHandler<>(listener, in -> TransportResponse.Empty.INSTANCE));
listener.actionGet();
}
Aggregations