> @@ -579,22 +590,79 @@ public long countBlobs(String containerName,
> ListContainerOptions options) {
> throw new UnsupportedOperationException();
> }
>
> - // copied from BaseBlobStore
> + // TODO: Move statics up to BaseBlobStore to reuse?
> + @com.google.inject.Inject(optional = true)
> + @Named("jclouds.mpu.parallel.degree")
> + @VisibleForTesting
> + private int numThreads = 16;
> +
> + private ExecutorService jcloudsBigBlobUploadTreadPool =
> MoreExecutors.getExitingExecutorService(
Using an existing executor means we can't use the property variable for number
of threads, though, right? Since the variable is already documented, I think
there is an expectation that such a separate executor should exist.
---
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/0b784d15fa6f35ceb82028e1823e85c31ccf513d#r68583312