jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Gaul <notificati...@github.com>
Subject Re: [jclouds-examples] Add glacier example (#58)
Date Fri, 08 Aug 2014 21:37:09 GMT
> +            .credentials(identity, credentials)
> +            .buildView(BlobStoreContext.class);
> +
> +      try {
> +         while (chooseOption(context));
> +      } finally {
> +         context.close();
> +      }
> +   }
> +
> +   private static void putAndRetrieveBlobExample(BlobStoreContext context) throws IOException
{
> +      // Get the blobstore
> +      BlobStore blobstore = context.getBlobStore();
> +
> +      // Create a container
> +      String containerName = UUID.randomUUID().toString() + "_putAndRetrieveBlobExample";

Reverse to "putAndRetrieveBlobExample_" + UUID.randomUUID().toString(), so multiple runs sort
near each other.  Perhaps add a "jclouds" prefix?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-examples/pull/58/files#r16017861
Mime
View raw message