@Singleton public class AzureBlobStore extends BaseBlobStore
blobUtils, context, defaultLocation, locations
blobBuilder, clearAndDeleteContainer, clearContainer, clearContainer, countBlobs, countBlobs, createDirectory, deleteDirectory, directoryExists, getBlob, getContext, list, listAssignableLocations
public PageSet<? extends StorageMetadata> list()
AzureBlobClient.listContainers(org.jclouds.azure.storage.options.ListOptions...)
public boolean containerExists(String container)
AzureBlobClient#bucketExists
container
- container namepublic boolean createContainerInLocation(Location location, String container)
AzureBlobClient#putBucketInRegion
location
- currently ignoredcontainer
- container namepublic PageSet<? extends StorageMetadata> list(String container, ListContainerOptions options)
AzureBlobClient.listBlobs(java.lang.String, org.jclouds.azureblob.options.ListBlobsOptions...)
container
- container nameoptions
- size, recursion, and context of the listpublic void deleteContainer(String container)
AzureBlobClient.deleteContainer(java.lang.String)
deleteContainer
in interface BlobStore
deleteContainer
in class BaseBlobStore
container
- container namepublic boolean blobExists(String container, String key)
AzureBlobClient.blobExists(java.lang.String, java.lang.String)
container
- container namekey
- blob keypublic Blob getBlob(String container, String key, GetOptions options)
AzureBlobClient.getBlob(java.lang.String, java.lang.String, org.jclouds.http.options.GetOptions...)
container
- container namekey
- blob keyoptions
- byte range or condition optionspublic String putBlob(String container, Blob blob)
AzureBlobClient#putObject
container
- container nameblob
- objectpublic String putBlob(String container, Blob blob, PutOptions options)
AzureBlobClient#putObject
container
- container nameblob
- objectoptions
- byte range optionspublic void removeBlob(String container, String key)
AzureBlobClient#deleteObject
container
- container namekey
- blob keypublic BlobMetadata blobMetadata(String container, String key)
AzureBlobClient.getBlobProperties(java.lang.String, java.lang.String)
container
- container namekey
- blob keyprotected boolean deleteAndVerifyContainerGone(String container)
deleteAndVerifyContainerGone
in class BaseBlobStore
public boolean createContainerInLocation(Location location, String container, CreateContainerOptions options)
options
- controls default access controlBlobStore.createContainerInLocation(Location,String)
Copyright © 2009-2013 jclouds. All Rights Reserved.