> ++partNumber; > + BlobUploader b = > + new BlobUploader(mpu, partNumber, payload, parts); > + executor.execute(b); > + } > + executor.shutdown(); > + try { > + executor.awaitTermination(Integer.MAX_VALUE, TimeUnit.DAYS); > + } catch (InterruptedException e) { > + e.printStackTrace(); > + } > + > + return completeMultipartUpload(mpu, new ArrayList( parts )); > + } > + > + private class BlobUploader implements Runnable {
As for AutoValue, I am not sure if it's worth it, and I am not sure it will work well considering payload and multipartupload are mutable... I think... --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/975/files/70ba6e0f5aa5c660cab27eb6a450ca7f1e435235#r67957832