org.jclouds.azureblob
Interface AzureBlobAsyncClient


public interface AzureBlobAsyncClient

Provides asynchronous access to Azure Blob via their REST API.

All commands return a ListenableFuture of the result from Azure Blob. Any exceptions incurred during processing will be wrapped in an ExecutionException as documented in Future.get().

Author:
Adrian Cole
See Also:
, AzureBlobClient

Method Summary
 com.google.common.util.concurrent.ListenableFuture<Boolean> blobExists(String container, String name)
           
 com.google.common.util.concurrent.ListenableFuture<Boolean> containerExists(String container)
           
 com.google.common.util.concurrent.ListenableFuture<Boolean> createContainer(String container, CreateContainerOptions... options)
           
 com.google.common.util.concurrent.ListenableFuture<Boolean> createRootContainer(CreateContainerOptions... options)
           
 com.google.common.util.concurrent.ListenableFuture<Void> deleteBlob(String container, String name)
           
 com.google.common.util.concurrent.ListenableFuture<Void> deleteContainer(String container)
           
 com.google.common.util.concurrent.ListenableFuture<Void> deleteRootContainer()
           
 com.google.common.util.concurrent.ListenableFuture<AzureBlob> getBlob(String container, String name, GetOptions... options)
           
 com.google.common.util.concurrent.ListenableFuture<BlobProperties> getBlobProperties(String container, String name)
           
 com.google.common.util.concurrent.ListenableFuture<ContainerProperties> getContainerProperties(String container)
           
 com.google.common.util.concurrent.ListenableFuture<PublicAccess> getPublicAccessForContainer(String container)
           
 com.google.common.util.concurrent.ListenableFuture<ListBlobsResponse> listBlobs(ListBlobsOptions... options)
           
 com.google.common.util.concurrent.ListenableFuture<ListBlobsResponse> listBlobs(String container, ListBlobsOptions... options)
           
 com.google.common.util.concurrent.ListenableFuture<? extends BoundedSet<ContainerProperties>> listContainers(ListOptions... listOptions)
           
 AzureBlob newBlob()
           
 com.google.common.util.concurrent.ListenableFuture<String> putBlob(String container, AzureBlob object)
           
 com.google.common.util.concurrent.ListenableFuture<Void> setBlobMetadata(String container, String name, Map<String,String> metadata)
           
 com.google.common.util.concurrent.ListenableFuture<Void> setResourceMetadata(String container, Map<String,String> metadata)
           
 

Method Detail

newBlob

@Provides
AzureBlob newBlob()

listContainers

com.google.common.util.concurrent.ListenableFuture<? extends BoundedSet<ContainerProperties>> listContainers(ListOptions... listOptions)
See Also:
AzureBlobClient.listContainers(org.jclouds.azure.storage.options.ListOptions...)

createContainer

com.google.common.util.concurrent.ListenableFuture<Boolean> createContainer(String container,
                                                                            CreateContainerOptions... options)
See Also:
AzureBlobClient.createContainer(java.lang.String, org.jclouds.azureblob.options.CreateContainerOptions...)

getPublicAccessForContainer

com.google.common.util.concurrent.ListenableFuture<PublicAccess> getPublicAccessForContainer(String container)
See Also:
AzureBlobClient.getPublicAccessForContainer(java.lang.String)

getContainerProperties

com.google.common.util.concurrent.ListenableFuture<ContainerProperties> getContainerProperties(String container)
See Also:
AzureBlobClient.getContainerProperties(java.lang.String)

containerExists

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

setResourceMetadata

com.google.common.util.concurrent.ListenableFuture<Void> setResourceMetadata(String container,
                                                                             Map<String,String> metadata)
See Also:
AzureBlobClient.setResourceMetadata(java.lang.String, java.util.Map)

deleteContainer

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

createRootContainer

com.google.common.util.concurrent.ListenableFuture<Boolean> createRootContainer(CreateContainerOptions... options)
See Also:
AzureBlobClient.createRootContainer(org.jclouds.azureblob.options.CreateContainerOptions...)

deleteRootContainer

com.google.common.util.concurrent.ListenableFuture<Void> deleteRootContainer()
See Also:
AzureBlobClient.deleteRootContainer()

listBlobs

com.google.common.util.concurrent.ListenableFuture<ListBlobsResponse> listBlobs(String container,
                                                                                ListBlobsOptions... options)
See Also:
AzureBlobClient.listBlobs(String, ListBlobsOptions[])

listBlobs

com.google.common.util.concurrent.ListenableFuture<ListBlobsResponse> listBlobs(ListBlobsOptions... options)
See Also:
AzureBlobClient.listBlobs(ListBlobsOptions[])

putBlob

com.google.common.util.concurrent.ListenableFuture<String> putBlob(String container,
                                                                   AzureBlob object)
See Also:
AzureBlobClient.putBlob(java.lang.String, org.jclouds.azureblob.domain.AzureBlob)

getBlob

com.google.common.util.concurrent.ListenableFuture<AzureBlob> getBlob(String container,
                                                                      String name,
                                                                      GetOptions... options)
See Also:
AzureBlobClient.getBlob(java.lang.String, java.lang.String, org.jclouds.http.options.GetOptions...)

getBlobProperties

com.google.common.util.concurrent.ListenableFuture<BlobProperties> getBlobProperties(String container,
                                                                                     String name)
See Also:
AzureBlobClient.getBlobProperties(java.lang.String, java.lang.String)

blobExists

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

setBlobMetadata

com.google.common.util.concurrent.ListenableFuture<Void> setBlobMetadata(String container,
                                                                         String name,
                                                                         Map<String,String> metadata)
See Also:
AzureBlobClient.setBlobMetadata(java.lang.String, java.lang.String, java.util.Map)

deleteBlob

com.google.common.util.concurrent.ListenableFuture<Void> deleteBlob(String container,
                                                                    String name)
See Also:
AzureBlobClient.deleteBlob(java.lang.String, java.lang.String)


Copyright © 2009-2011 jclouds. All Rights Reserved.