org.jclouds.blobstore
Interface AsyncBlobStore

All Known Implementing Classes:
AtmosAsyncBlobStore, AWSS3AsyncBlobStore, AzureAsyncBlobStore, BaseAsyncBlobStore, CloudFilesAsyncBlobStore, FilesystemAsyncBlobStore, S3AsyncBlobStore, SwiftAsyncBlobStore, TransientAsyncBlobStore

public interface AsyncBlobStore

Provides hooks needed to run a blob store asynchronously

See Also:
AsyncBlobStore

Method Summary
 BlobBuilder blobBuilder(String name)
           
 com.google.common.util.concurrent.ListenableFuture<Boolean> blobExists(String container, String name)
           
 com.google.common.util.concurrent.ListenableFuture<BlobMetadata> blobMetadata(String container, String key)
           
 com.google.common.util.concurrent.ListenableFuture<Void> clearContainer(String container)
           
 com.google.common.util.concurrent.ListenableFuture<Void> clearContainer(String container, ListContainerOptions options)
           
 com.google.common.util.concurrent.ListenableFuture<Boolean> containerExists(String container)
           
 com.google.common.util.concurrent.ListenableFuture<Long> countBlobs(String container)
           
 com.google.common.util.concurrent.ListenableFuture<Long> countBlobs(String container, ListContainerOptions options)
           
 com.google.common.util.concurrent.ListenableFuture<Boolean> createContainerInLocation(Location location, String container)
           
 com.google.common.util.concurrent.ListenableFuture<Boolean> createContainerInLocation(Location location, String container, CreateContainerOptions options)
           
 com.google.common.util.concurrent.ListenableFuture<Void> createDirectory(String container, String directory)
           
 com.google.common.util.concurrent.ListenableFuture<Void> deleteContainer(String container)
           
 com.google.common.util.concurrent.ListenableFuture<Void> deleteDirectory(String containerName, String name)
           
 com.google.common.util.concurrent.ListenableFuture<Boolean> directoryExists(String container, String directory)
           
 com.google.common.util.concurrent.ListenableFuture<Blob> getBlob(String container, String key)
           
 com.google.common.util.concurrent.ListenableFuture<Blob> getBlob(String container, String key, GetOptions options)
           
 BlobStoreContext getContext()
           
 com.google.common.util.concurrent.ListenableFuture<PageSet<? extends StorageMetadata>> list()
           
 com.google.common.util.concurrent.ListenableFuture<PageSet<? extends StorageMetadata>> list(String container)
           
 com.google.common.util.concurrent.ListenableFuture<PageSet<? extends StorageMetadata>> list(String container, ListContainerOptions options)
           
 com.google.common.util.concurrent.ListenableFuture<Set<? extends Location>> listAssignableLocations()
           
 Blob newBlob(String name)
          Deprecated. 
 com.google.common.util.concurrent.ListenableFuture<String> putBlob(String container, Blob blob)
           
 com.google.common.util.concurrent.ListenableFuture<String> putBlob(String container, Blob blob, PutOptions options)
           
 com.google.common.util.concurrent.ListenableFuture<Void> removeBlob(String container, String key)
           
 

Method Detail

getContext

BlobStoreContext getContext()
See Also:
BlobStore.getContext()

newBlob

@Deprecated
Blob newBlob(String name)
Deprecated. 

See Also:
BlobStore.newBlob(java.lang.String)

blobBuilder

BlobBuilder blobBuilder(String name)
See Also:
BlobStore.blobBuilder(java.lang.String)

listAssignableLocations

com.google.common.util.concurrent.ListenableFuture<Set<? extends Location>> listAssignableLocations()
See Also:
BlobStore.listAssignableLocations()

list

com.google.common.util.concurrent.ListenableFuture<PageSet<? extends StorageMetadata>> list()
See Also:
BlobStore.list()

containerExists

com.google.common.util.concurrent.ListenableFuture<Boolean> containerExists(String container)
See Also:
BlobStore.containerExists(java.lang.String)

createContainerInLocation

com.google.common.util.concurrent.ListenableFuture<Boolean> createContainerInLocation(@Nullable
                                                                                      Location location,
                                                                                      String container)
See Also:
BlobStore.createContainerInLocation(Location, String)

createContainerInLocation

com.google.common.util.concurrent.ListenableFuture<Boolean> createContainerInLocation(@Nullable
                                                                                      Location location,
                                                                                      String container,
                                                                                      CreateContainerOptions options)
See Also:
BlobStore.createContainerInLocation(Location,String,CreateContainerOptions)

list

com.google.common.util.concurrent.ListenableFuture<PageSet<? extends StorageMetadata>> list(String container)
See Also:
BlobStore.list(String)

list

com.google.common.util.concurrent.ListenableFuture<PageSet<? extends StorageMetadata>> list(String container,
                                                                                            ListContainerOptions options)
See Also:
BlobStore.list(String, ListContainerOptions)

clearContainer

com.google.common.util.concurrent.ListenableFuture<Void> clearContainer(String container)
See Also:
BlobStore.clearContainer(String)

clearContainer

com.google.common.util.concurrent.ListenableFuture<Void> clearContainer(String container,
                                                                        ListContainerOptions options)
See Also:
BlobStore.clearContainer(String, ListContainerOptions)

deleteContainer

com.google.common.util.concurrent.ListenableFuture<Void> deleteContainer(String container)
See Also:
BlobStore.deleteContainer(java.lang.String)

directoryExists

com.google.common.util.concurrent.ListenableFuture<Boolean> directoryExists(String container,
                                                                            String directory)
See Also:
BlobStore.directoryExists(java.lang.String, java.lang.String)

createDirectory

com.google.common.util.concurrent.ListenableFuture<Void> createDirectory(String container,
                                                                         String directory)
See Also:
BlobStore.createDirectory(java.lang.String, java.lang.String)

deleteDirectory

com.google.common.util.concurrent.ListenableFuture<Void> deleteDirectory(String containerName,
                                                                         String name)
See Also:
BlobStore.deleteDirectory(java.lang.String, java.lang.String)

blobExists

com.google.common.util.concurrent.ListenableFuture<Boolean> blobExists(String container,
                                                                       String name)
See Also:
BlobStore.blobExists(java.lang.String, java.lang.String)

putBlob

com.google.common.util.concurrent.ListenableFuture<String> putBlob(String container,
                                                                   Blob blob)
See Also:
BlobStore.putBlob(String,Blob)

putBlob

com.google.common.util.concurrent.ListenableFuture<String> putBlob(String container,
                                                                   Blob blob,
                                                                   PutOptions options)
See Also:
BlobStore.putBlob(String,Blob,PutOptions)

blobMetadata

com.google.common.util.concurrent.ListenableFuture<BlobMetadata> blobMetadata(String container,
                                                                              String key)
See Also:
BlobStore.blobMetadata(java.lang.String, java.lang.String)

getBlob

com.google.common.util.concurrent.ListenableFuture<Blob> getBlob(String container,
                                                                 String key)
See Also:
BlobStore.getBlob(String, String)

getBlob

com.google.common.util.concurrent.ListenableFuture<Blob> getBlob(String container,
                                                                 String key,
                                                                 GetOptions options)
See Also:
BlobStore.getBlob(String, String, GetOptions)

removeBlob

com.google.common.util.concurrent.ListenableFuture<Void> removeBlob(String container,
                                                                    String key)
See Also:
BlobStore.removeBlob(java.lang.String, java.lang.String)

countBlobs

com.google.common.util.concurrent.ListenableFuture<Long> countBlobs(String container)
See Also:
BlobStore.countBlobs(String)

countBlobs

com.google.common.util.concurrent.ListenableFuture<Long> countBlobs(String container,
                                                                    ListContainerOptions options)
See Also:
BlobStore.countBlobs(String,ListContainerOptions)


Copyright © 2009-2011 jclouds. All Rights Reserved.