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