org.jclouds.blobstore
Class BlobStores

java.lang.Object
  extended by org.jclouds.blobstore.BlobStores

public class BlobStores
extends Object

Utilities for using Blob Stores.

Since:
1.3
Author:
Aled Sage

Constructor Summary
BlobStores()
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlobStores

public BlobStores()
Method Detail

listAll

@Beta
public static Iterable<StorageMetadata> listAll(BlobStore blobStore,
                                                     String container,
                                                     ListContainerOptions containerOptions)
See Also:
listAll(BlobStore, String, ListContainerOptions, ListAllOptions)

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


Copyright © 2009-2012 jclouds. All Rights Reserved.