Package org.jclouds.blobstore
Class BlobStores
java.lang.Object
org.jclouds.blobstore.BlobStores
Utilities for using Blob Stores.
- Since:
- 1.3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
Constructor Details
-
BlobStores
public BlobStores()
-
-
Method Details
-
listAll
@Beta public static Iterable<StorageMetadata> listAll(BlobStore blobStore, String container, ListContainerOptions containerOptions) - See Also:
-
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
-