jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Phillips <notificati...@github.com>
Subject Re: [jclouds-labs-google] JCLOUDS-458:Added Blobstore Abstraction (#48)
Date Sat, 20 Sep 2014 03:08:35 GMT
> +
> +   @Override
> +   public PageSet<? extends StorageMetadata> list(String container, ListContainerOptions
options) {
> +
> +      if (options != null && options != ListContainerOptions.NONE) {
> +         ListObjectOptions listOptions = listContainerOptionsToListObjectOptions.apply(options);
> +         ListPage<GCSObject> gcsList = api.getObjectApi().listObjects(container,
listOptions);
> +         PageSet<? extends StorageMetadata> list = objectListToStorageMetadata.apply(gcsList);
> +         return options.isDetailed() ? fetchBlobMetadataProvider.get().setContainerName(container).apply(list)
: list;
> +      } else {
> +         return list(container);
> +      }
> +   }
> +
> +   /**
> +    * Checks whether an accessible object is available. Google cloud storage does not
support directly support

"does not directly support"...?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/48/files#r17817485
Mime
View raw message