Package org.jclouds.blobstore
Class BlobStores
- java.lang.Object
-
- org.jclouds.blobstore.BlobStores
-
public class BlobStores extends Object
Utilities for using Blob Stores.- Since:
- 1.3
-
-
Constructor Summary
Constructors Constructor Description BlobStores()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Iterable<StorageMetadata>
listAll(BlobStore blobStore, String container, ListContainerOptions containerOptions)
static Iterable<StorageMetadata>
listAll(BlobStore blobStore, String container, ListContainerOptions containerOptions, ListAllOptions listAllOptions)
A variant of BlobStore.list(String, ListContainerOptions) that produces an Iterable over the entire set of results, not just one page, making multiple calls to BlobStore.list as needed.
-
-
-
Method Detail
-
listAll
@Beta public static Iterable<StorageMetadata> listAll(BlobStore blobStore, String container, ListContainerOptions containerOptions)
-
listAll
@Beta public static Iterable<StorageMetadata> listAll(BlobStore blobStore, String container, ListContainerOptions containerOptions, ListAllOptions listAllOptions)
A variant of BlobStore.list(String, ListContainerOptions) that produces an Iterable over the entire set of results, not just one page, making multiple calls to BlobStore.list as needed. Note that if listAllOptions.isEager, then the first page will be fetched immediately and cached. Repeatedly iterating will not re-fetch (and thus will not refresh) the first page.- Throws:
ContainerNotFoundException
- If listAllOptions.isEager and container cannot be found
-
-