@Singleton public class AzureAsyncBlobStore extends BaseAsyncBlobStore
blobUtils, context, defaultLocation, locations, service
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
blobExists(String container,
String name)
This implementation invokes
AzureBlobAsyncClient.blobExists(java.lang.String, java.lang.String) |
com.google.common.util.concurrent.ListenableFuture<BlobMetadata> |
blobMetadata(String container,
String key)
This implementation invokes
AzureBlobAsyncClient.getBlobProperties(java.lang.String, java.lang.String) |
com.google.common.util.concurrent.ListenableFuture<Boolean> |
containerExists(String container)
This implementation invokes
AzureBlobAsyncClient.containerExists(java.lang.String) |
com.google.common.util.concurrent.ListenableFuture<Boolean> |
createContainerInLocation(Location location,
String container)
This implementation invokes
AzureBlobAsyncClient.createContainer(java.lang.String, org.jclouds.azureblob.options.CreateContainerOptions...) |
com.google.common.util.concurrent.ListenableFuture<Boolean> |
createContainerInLocation(Location location,
String container,
CreateContainerOptions options) |
protected boolean |
deleteAndVerifyContainerGone(String container) |
com.google.common.util.concurrent.ListenableFuture<Void> |
deleteContainer(String container)
This implementation invokes
AzureBlobAsyncClient.deleteContainer(java.lang.String) |
com.google.common.util.concurrent.ListenableFuture<Blob> |
getBlob(String container,
String key,
GetOptions options)
This implementation invokes
AzureBlobAsyncClient.getBlob(java.lang.String, java.lang.String, org.jclouds.http.options.GetOptions...) |
com.google.common.util.concurrent.ListenableFuture<PageSet<? extends StorageMetadata>> |
list()
This implementation invokes
AzureBlobAsyncClient.listContainers(org.jclouds.azure.storage.options.ListOptions...) with the
ListOptions.includeMetadata() option. |
com.google.common.util.concurrent.ListenableFuture<PageSet<? extends StorageMetadata>> |
list(String container,
ListContainerOptions options)
This implementation invokes
AzureBlobAsyncClient#listBucket |
com.google.common.util.concurrent.ListenableFuture<String> |
putBlob(String container,
Blob blob)
This implementation invokes
AzureBlobAsyncClient.putBlob(java.lang.String, org.jclouds.azureblob.domain.AzureBlob) |
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)
This implementation invokes
AzureBlobAsyncClient#deleteObject |
blobBuilder, clearContainer, clearContainer, countBlobs, countBlobs, createDirectory, deleteAndEnsurePathGone, deleteDirectory, directoryExists, getBlob, getContext, list, listAssignableLocations
public com.google.common.util.concurrent.ListenableFuture<PageSet<? extends StorageMetadata>> list()
AzureBlobAsyncClient.listContainers(org.jclouds.azure.storage.options.ListOptions...)
with the
ListOptions.includeMetadata()
option.BlobStore.list()
public com.google.common.util.concurrent.ListenableFuture<Boolean> containerExists(String container)
AzureBlobAsyncClient.containerExists(java.lang.String)
container
- container nameBlobStore.containerExists(java.lang.String)
public com.google.common.util.concurrent.ListenableFuture<Boolean> createContainerInLocation(Location location, String container)
AzureBlobAsyncClient.createContainer(java.lang.String, org.jclouds.azureblob.options.CreateContainerOptions...)
location
- ignoredcontainer
- container nameBlobStore.createContainerInLocation(Location, String)
public com.google.common.util.concurrent.ListenableFuture<PageSet<? extends StorageMetadata>> list(String container, ListContainerOptions options)
AzureBlobAsyncClient#listBucket
container
- container nameBlobStore.list(String, ListContainerOptions)
public com.google.common.util.concurrent.ListenableFuture<Void> deleteContainer(String container)
AzureBlobAsyncClient.deleteContainer(java.lang.String)
deleteContainer
in interface AsyncBlobStore
deleteContainer
in class BaseAsyncBlobStore
container
- container nameBlobStore.deleteContainer(java.lang.String)
public com.google.common.util.concurrent.ListenableFuture<Blob> getBlob(String container, String key, GetOptions options)
AzureBlobAsyncClient.getBlob(java.lang.String, java.lang.String, org.jclouds.http.options.GetOptions...)
container
- container namekey
- blob keyBlobStore.getBlob(String, String, GetOptions)
public com.google.common.util.concurrent.ListenableFuture<String> putBlob(String container, Blob blob)
AzureBlobAsyncClient.putBlob(java.lang.String, org.jclouds.azureblob.domain.AzureBlob)
container
- container nameblob
- blobBlobStore.putBlob(String,Blob)
public com.google.common.util.concurrent.ListenableFuture<Void> removeBlob(String container, String key)
AzureBlobAsyncClient#deleteObject
container
- container namekey
- blob keyBlobStore.removeBlob(java.lang.String, java.lang.String)
public com.google.common.util.concurrent.ListenableFuture<Boolean> blobExists(String container, String name)
AzureBlobAsyncClient.blobExists(java.lang.String, java.lang.String)
container
- bucket namecredential
- object keyBlobStore.blobExists(java.lang.String, java.lang.String)
public com.google.common.util.concurrent.ListenableFuture<BlobMetadata> blobMetadata(String container, String key)
AzureBlobAsyncClient.getBlobProperties(java.lang.String, java.lang.String)
container
- container namekey
- blob keyBlobStore.blobMetadata(java.lang.String, java.lang.String)
protected boolean deleteAndVerifyContainerGone(String container)
deleteAndVerifyContainerGone
in class BaseAsyncBlobStore
public com.google.common.util.concurrent.ListenableFuture<String> putBlob(String container, Blob blob, PutOptions options)
public com.google.common.util.concurrent.ListenableFuture<Boolean> createContainerInLocation(Location location, String container, CreateContainerOptions options)
Copyright © 2009-2012 jclouds. All Rights Reserved.