> +import com.google.common.collect.Lists;
> +import com.google.common.util.concurrent.FutureCallback;
> +import com.google.common.util.concurrent.Futures;
> +import com.google.common.util.concurrent.ListenableFuture;
> +import com.google.common.util.concurrent.ListeningExecutorService;
> +import com.google.common.util.concurrent.MoreExecutors;
> +
> +/**
> + * Upload an entire directory and all of its sub-directories to a Cloud 
> Files container. The local directory hierarchy
> + * will be mimicked as pseudo-hierarchical directories 
> (http://j.mp/rax-hier) within the container. This is a great
> + * way to upload content for a static website (http://j.mp/rax-static).     
> + * 
> + * @author Everett Toews
> + */
> +public class UploadDirectoryToCDN implements Closeable {
> +   public static int THREADS = 10;

None of the other examples do that so it would be inconsistent. Then there 
would also be two ways of setting things, args and system props. I'd like to 
leave this as is. If users want to take it and change it, they can.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-examples/pull/11/files#r5438903

Reply via email to