> + generateFileList(localFile, remotePath + localFile.getName() +
> "/", blobDetails);
> + }
> + }
> + }
> +
> + /**
> + * Upload the files in parallel.
> + */
> + private void uploadFiles(String container, List<BlobDetail> blobDetails)
> + throws InterruptedException, ExecutionException {
> + ListeningExecutorService executor = null;
> +
> + try {
> + executor =
> MoreExecutors.listeningDecorator(newFixedThreadPool(THREADS));
> + List<ListenableFuture<BlobDetail>> blobUploaderFutures =
> Lists.newArrayList();
> + BlobUploaderCallback blobUploaderCallback = new
> BlobUploaderCallback();
Nice catch. Thanks!
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-examples/pull/11/files#r5439010