SwiftBlobStore
@Deprecated @Singleton public class SwiftAsyncBlobStore extends BaseAsyncBlobStore
blobUtils, context, defaultLocation, locations, userExecutor
Modifier | Constructor and Description |
---|---|
protected |
SwiftAsyncBlobStore(BlobStoreContext context,
BlobUtils blobUtils,
com.google.common.util.concurrent.ListeningExecutorService userExecutor,
com.google.common.base.Supplier<Location> defaultLocation,
com.google.common.base.Supplier<Set<? extends Location>> locations,
CommonSwiftClient sync,
CommonSwiftAsyncClient async,
ContainerToResourceMetadata container2ResourceMd,
BlobStoreListContainerOptionsToListContainerOptions container2ContainerListOptions,
ContainerToResourceList container2ResourceList,
ObjectToBlob object2Blob,
BlobToObject blob2Object,
ObjectToBlobMetadata object2BlobMd,
BlobToHttpGetOptions blob2ObjectGetOptions,
javax.inject.Provider<FetchBlobMetadata> fetchBlobMetadataProvider,
javax.inject.Provider<AsyncMultipartUploadStrategy> multipartUploadStrategy)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
blobExists(String container,
String key)
Deprecated.
This implementation invokes
CommonSwiftAsyncClient.objectExists(java.lang.String, java.lang.String) |
com.google.common.util.concurrent.ListenableFuture<BlobMetadata> |
blobMetadata(String container,
String key)
Deprecated.
This implementation invokes
CommonSwiftAsyncClient#headObject |
com.google.common.util.concurrent.ListenableFuture<Boolean> |
containerExists(String container)
Deprecated.
This implementation invokes
CommonSwiftAsyncClient.containerExists(java.lang.String) |
com.google.common.util.concurrent.ListenableFuture<Boolean> |
createContainerInLocation(Location location,
String container)
Deprecated.
Note that location is currently ignored.
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
createContainerInLocation(Location location,
String container,
CreateContainerOptions options)
Deprecated.
|
protected boolean |
deleteAndVerifyContainerGone(String container)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<Blob> |
getBlob(String container,
String key,
GetOptions options)
Deprecated.
This implementation invokes
CommonSwiftAsyncClient.getObject(java.lang.String, java.lang.String, org.jclouds.http.options.GetOptions...) |
com.google.common.util.concurrent.ListenableFuture<PageSet<? extends StorageMetadata>> |
list()
Deprecated.
This implementation invokes
CommonSwiftAsyncClient.listContainers(org.jclouds.openstack.swift.options.ListContainerOptions...) |
com.google.common.util.concurrent.ListenableFuture<PageSet<? extends StorageMetadata>> |
list(String container,
ListContainerOptions options)
Deprecated.
This implementation invokes
CommonSwiftAsyncClient#listBucket |
com.google.common.util.concurrent.ListenableFuture<String> |
putBlob(String container,
Blob blob)
Deprecated.
This implementation invokes
CommonSwiftAsyncClient.putObject(java.lang.String, org.jclouds.openstack.swift.domain.SwiftObject) |
com.google.common.util.concurrent.ListenableFuture<String> |
putBlob(String container,
Blob blob,
PutOptions options)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<Void> |
removeBlob(String container,
String key)
Deprecated.
This implementation invokes
CommonSwiftAsyncClient.removeObject(java.lang.String, java.lang.String) |
blobBuilder, clearContainer, clearContainer, countBlobs, countBlobs, createDirectory, deleteContainer, deleteDirectory, deletePathAndEnsureGone, directoryExists, getBlob, getContext, list, listAssignableLocations
@Inject protected SwiftAsyncBlobStore(BlobStoreContext context, BlobUtils blobUtils, @Named(value="jclouds.user-threads") com.google.common.util.concurrent.ListeningExecutorService userExecutor, com.google.common.base.Supplier<Location> defaultLocation, com.google.common.base.Supplier<Set<? extends Location>> locations, CommonSwiftClient sync, CommonSwiftAsyncClient async, ContainerToResourceMetadata container2ResourceMd, BlobStoreListContainerOptionsToListContainerOptions container2ContainerListOptions, ContainerToResourceList container2ResourceList, ObjectToBlob object2Blob, BlobToObject blob2Object, ObjectToBlobMetadata object2BlobMd, BlobToHttpGetOptions blob2ObjectGetOptions, javax.inject.Provider<FetchBlobMetadata> fetchBlobMetadataProvider, javax.inject.Provider<AsyncMultipartUploadStrategy> multipartUploadStrategy)
public com.google.common.util.concurrent.ListenableFuture<PageSet<? extends StorageMetadata>> list()
CommonSwiftAsyncClient.listContainers(org.jclouds.openstack.swift.options.ListContainerOptions...)
BlobStore.list()
public com.google.common.util.concurrent.ListenableFuture<Boolean> containerExists(String container)
CommonSwiftAsyncClient.containerExists(java.lang.String)
container
- container nameBlobStore.containerExists(java.lang.String)
public com.google.common.util.concurrent.ListenableFuture<Boolean> createContainerInLocation(Location location, String container)
public com.google.common.util.concurrent.ListenableFuture<PageSet<? extends StorageMetadata>> list(String container, ListContainerOptions options)
CommonSwiftAsyncClient#listBucket
container
- container nameBlobStore.list(String, ListContainerOptions)
public com.google.common.util.concurrent.ListenableFuture<Boolean> blobExists(String container, String key)
CommonSwiftAsyncClient.objectExists(java.lang.String, java.lang.String)
container
- container namekey
- object keyBlobStore.blobExists(java.lang.String, java.lang.String)
public com.google.common.util.concurrent.ListenableFuture<BlobMetadata> blobMetadata(String container, String key)
CommonSwiftAsyncClient#headObject
container
- container namekey
- object keyBlobStore.blobMetadata(java.lang.String, java.lang.String)
public com.google.common.util.concurrent.ListenableFuture<Blob> getBlob(String container, String key, GetOptions options)
CommonSwiftAsyncClient.getObject(java.lang.String, java.lang.String, org.jclouds.http.options.GetOptions...)
container
- container namekey
- object keyBlobStore.getBlob(String, String, GetOptions)
public com.google.common.util.concurrent.ListenableFuture<String> putBlob(String container, Blob blob)
CommonSwiftAsyncClient.putObject(java.lang.String, org.jclouds.openstack.swift.domain.SwiftObject)
container
- container nameblob
- objectBlobStore.putBlob(String,Blob)
public com.google.common.util.concurrent.ListenableFuture<Void> removeBlob(String container, String key)
CommonSwiftAsyncClient.removeObject(java.lang.String, java.lang.String)
container
- container namekey
- object keyBlobStore.removeBlob(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-2013 jclouds. All Rights Reserved.