|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jclouds.blobstore.internal.BaseBlobStore org.jclouds.atmos.blobstore.AtmosBlobStore
@Singleton public class AtmosBlobStore
Field Summary |
---|
Fields inherited from class org.jclouds.blobstore.internal.BaseBlobStore |
---|
blobUtils, context, defaultLocation, locations |
Methods inherited from class org.jclouds.blobstore.internal.BaseBlobStore |
---|
blobBuilder, clearAndDeleteContainer, clearContainer, clearContainer, countBlobs, countBlobs, deleteContainer, getBlob, getContext, list, listAssignableLocations, newBlob |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public 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(java.lang.String)
followed by
AtmosAsyncClient.pathExists(java.lang.String)
until it is true.
deleteAndVerifyContainerGone
in class BaseBlobStore
public boolean createContainerInLocation(Location location, String container)
AtmosClient.createDirectory(java.lang.String, org.jclouds.atmos.options.PutOptions...)
location
- currently ignoredcontainer
- directory name
public void createDirectory(String container, String directory)
AtmosClient.createDirectory(java.lang.String, org.jclouds.atmos.options.PutOptions...)
createDirectory
in interface BlobStore
createDirectory
in class BaseBlobStore
container
- directory namedirectory
- virtual pathpublic void deleteDirectory(String containerName, String directory)
removeBlob(java.lang.String, java.lang.String)
deleteDirectory
in interface BlobStore
deleteDirectory
in class BaseBlobStore
public boolean containerExists(String container)
AtmosClient.pathExists(java.lang.String)
public boolean directoryExists(String container, String directory)
AtmosClient.pathExists(java.lang.String)
directoryExists
in interface BlobStore
directoryExists
in class BaseBlobStore
container
- 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 options
public 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 list
public 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 options
public 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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |