|
||||||||||
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.openstack.swift.blobstore.SwiftBlobStore
@Singleton public class SwiftBlobStore
Field Summary |
---|
Fields inherited from class org.jclouds.blobstore.internal.BaseBlobStore |
---|
blobUtils, context, defaultLocation, locations |
Constructor Summary | |
---|---|
protected |
SwiftBlobStore(BlobStoreContext context,
BlobUtils blobUtils,
com.google.common.base.Supplier<Location> defaultLocation,
com.google.common.base.Supplier<Set<? extends Location>> locations,
CommonSwiftClient sync,
ContainerToResourceMetadata container2ResourceMd,
BlobStoreListContainerOptionsToListContainerOptions container2ContainerListOptions,
ContainerToResourceList container2ResourceList,
ObjectToBlob object2Blob,
BlobToObject blob2Object,
ObjectToBlobMetadata object2BlobMd,
BlobToHttpGetOptions blob2ObjectGetOptions,
javax.inject.Provider<FetchBlobMetadata> fetchBlobMetadataProvider)
|
Methods inherited from class org.jclouds.blobstore.internal.BaseBlobStore |
---|
blobBuilder, clearAndDeleteContainer, clearContainer, clearContainer, countBlobs, countBlobs, createDirectory, deleteContainer, deleteDirectory, directoryExists, getBlob, getContext, list, listAssignableLocations, newBlob |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@Inject protected SwiftBlobStore(BlobStoreContext context, BlobUtils blobUtils, com.google.common.base.Supplier<Location> defaultLocation, com.google.common.base.Supplier<Set<? extends Location>> locations, CommonSwiftClient sync, ContainerToResourceMetadata container2ResourceMd, BlobStoreListContainerOptionsToListContainerOptions container2ContainerListOptions, ContainerToResourceList container2ResourceList, ObjectToBlob object2Blob, BlobToObject blob2Object, ObjectToBlobMetadata object2BlobMd, BlobToHttpGetOptions blob2ObjectGetOptions, javax.inject.Provider<FetchBlobMetadata> fetchBlobMetadataProvider)
Method Detail |
---|
public PageSet<? extends StorageMetadata> list()
CommonSwiftClient.listContainers(org.jclouds.openstack.swift.options.ListContainerOptions...)
public boolean containerExists(String container)
CommonSwiftClient.containerExists(java.lang.String)
container
- container namepublic boolean createContainerInLocation(Location location, String container)
CommonSwiftClient#putBucketInRegion
location
- currently ignoredcontainer
- container name
public PageSet<? extends StorageMetadata> list(String container, ListContainerOptions options)
CommonSwiftClient.listObjects(java.lang.String, org.jclouds.openstack.swift.options.ListContainerOptions...)
container
- container nameoptions
- size, recursion, and context of the list
public boolean blobExists(String container, String key)
CommonSwiftClient#blobExists
container
- container namekey
- file namepublic BlobMetadata blobMetadata(String container, String key)
CommonSwiftClient.getObjectInfo(java.lang.String, java.lang.String)
container
- container namekey
- file name
public Blob getBlob(String container, String key, GetOptions optionsList)
CommonSwiftClient.getObject(java.lang.String, java.lang.String, org.jclouds.http.options.GetOptions...)
container
- container namekey
- file nameoptionsList
- byte range or condition options
public String putBlob(String container, Blob blob)
CommonSwiftClient.putObject(java.lang.String, org.jclouds.openstack.swift.domain.SwiftObject)
container
- container nameblob
- object
public String putBlob(String container, Blob blob, PutOptions options)
CommonSwiftClient.putObject(java.lang.String, org.jclouds.openstack.swift.domain.SwiftObject)
container
- container nameblob
- objectoptions
- byte range options
public void removeBlob(String container, String key)
CommonSwiftClient.removeObject(java.lang.String, java.lang.String)
container
- container namekey
- file nameprotected 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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |