@Singleton public class AtmosBlobStore extends BaseBlobStore
blobUtils, context, defaultLocation, locationsblobBuilder, clearContainer, clearContainer, countBlobs, countBlobs, deleteContainer, deletePathAndEnsureGone, getBlob, getContext, list, listAssignableLocationspublic BlobMetadata blobMetadata(String container, String key)
AtmosClient.headFile(java.lang.String)container - container where this exists.key - fully qualified name relative to the container.protected boolean deleteAndVerifyContainerGone(String container)
AtmosAsyncClient#deletePath followed by
AtmosAsyncClient#pathExists until it is true.deleteAndVerifyContainerGone in class BaseBlobStorepublic boolean createContainerInLocation(Location location, String container)
AtmosClient.createDirectory(java.lang.String, org.jclouds.atmos.options.PutOptions...)location - currently ignoredcontainer - directory namepublic void createDirectory(String container, String directory)
AtmosClient.createDirectory(java.lang.String, org.jclouds.atmos.options.PutOptions...)createDirectory in interface BlobStorecreateDirectory in class BaseBlobStorecontainer - directory namedirectory - virtual pathpublic void deleteDirectory(String containerName, String directory)
removeBlob(java.lang.String, java.lang.String)deleteDirectory in interface BlobStoredeleteDirectory in class BaseBlobStorepublic boolean containerExists(String container)
AtmosClient.pathExists(java.lang.String)public boolean directoryExists(String container, String directory)
AtmosClient.pathExists(java.lang.String)directoryExists in interface BlobStoredirectoryExists in class BaseBlobStorecontainer - container where the directory residesdirectory - virtual pathpublic boolean blobExists(String container, String key)
AtmosClient.pathExists(java.lang.String)container - containerkey - file namepublic Blob getBlob(String container, String key, GetOptions options)
AtmosClient.readFile(java.lang.String, org.jclouds.http.options.GetOptions...)container - container where this exists.key - fully qualified name relative to the container.options - byte range or condition optionspublic PageSet<? extends StorageMetadata> list()
AtmosClient.listDirectories(org.jclouds.atmos.options.ListOptions...)public PageSet<? extends StorageMetadata> list(String container, ListContainerOptions options)
AtmosClient.listDirectory(java.lang.String, org.jclouds.atmos.options.ListOptions...)container - what to listoptions - size, recursion, and context of the listpublic String putBlob(String container, Blob blob)
AtmosClient.createFile(java.lang.String, org.jclouds.atmos.domain.AtmosObject, org.jclouds.atmos.options.PutOptions...)
Since there is no etag support in atmos, we just return the path.container - container to place the blob.blob - fully qualified name relative to the container.public String putBlob(String container, Blob blob, PutOptions options)
AtmosClient.createFile(java.lang.String, org.jclouds.atmos.domain.AtmosObject, org.jclouds.atmos.options.PutOptions...)
Since there is no etag support in atmos, we just return the path.container - container to place the blob.blob - fully qualified name relative to the container.options - byte range optionspublic void removeBlob(String container, String key)
AtmosClient.deletePath(java.lang.String)container - container where this exists.key - fully qualified name relative to the container.public boolean createContainerInLocation(Location location, String container, CreateContainerOptions options)
options - controls default access controlBlobStore.createContainerInLocation(Location,String)Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.