BlobStore@Deprecated public class SubmissionAsyncBlobStore extends com.google.common.collect.ForwardingObject implements AsyncBlobStore
BlobStore to implement
the deprecated AsyncBlobStore interface.| Constructor and Description |
|---|
SubmissionAsyncBlobStore(BlobStore blobstore,
com.google.common.util.concurrent.ListeningExecutorService executor)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
BlobBuilder |
blobBuilder(String name)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
blobExists(String container,
String name)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<BlobMetadata> |
blobMetadata(String container,
String key)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<Void> |
clearContainer(String container)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<Void> |
clearContainer(String container,
ListContainerOptions options)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
containerExists(String container)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<Long> |
countBlobs(String container)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<Long> |
countBlobs(String container,
ListContainerOptions options)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
createContainerInLocation(Location location,
String container)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
createContainerInLocation(Location location,
String container,
CreateContainerOptions options)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<Void> |
createDirectory(String container,
String directory)
Deprecated.
|
protected BlobStore |
delegate()
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<Void> |
deleteContainer(String container)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<Void> |
deleteDirectory(String containerName,
String name)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
directoryExists(String container,
String directory)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<Blob> |
getBlob(String container,
String key)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<Blob> |
getBlob(String container,
String key,
GetOptions options)
Deprecated.
|
BlobStoreContext |
getContext()
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<PageSet<? extends StorageMetadata>> |
list()
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<PageSet<? extends StorageMetadata>> |
list(String container)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<PageSet<? extends StorageMetadata>> |
list(String container,
ListContainerOptions options)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<Set<? extends Location>> |
listAssignableLocations()
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<String> |
putBlob(String container,
Blob blob)
Deprecated.
|
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.
|
@Inject public SubmissionAsyncBlobStore(BlobStore blobstore, @Named(value="jclouds.user-threads") com.google.common.util.concurrent.ListeningExecutorService executor)
protected BlobStore delegate()
delegate in class com.google.common.collect.ForwardingObjectpublic BlobStoreContext getContext()
getContext in interface AsyncBlobStoreBlobStore.getContext()public BlobBuilder blobBuilder(String name)
blobBuilder in interface AsyncBlobStoreBlobStore.blobBuilder(java.lang.String)public com.google.common.util.concurrent.ListenableFuture<Set<? extends Location>> listAssignableLocations()
listAssignableLocations in interface AsyncBlobStoreBlobStore.listAssignableLocations()public com.google.common.util.concurrent.ListenableFuture<PageSet<? extends StorageMetadata>> list()
list in interface AsyncBlobStoreBlobStore.list()public com.google.common.util.concurrent.ListenableFuture<Boolean> containerExists(String container)
containerExists in interface AsyncBlobStoreBlobStore.containerExists(java.lang.String)public com.google.common.util.concurrent.ListenableFuture<Boolean> createContainerInLocation(Location location, String container)
createContainerInLocation in interface AsyncBlobStoreBlobStore.createContainerInLocation(Location, String)public com.google.common.util.concurrent.ListenableFuture<Boolean> createContainerInLocation(Location location, String container, CreateContainerOptions options)
createContainerInLocation in interface AsyncBlobStoreBlobStore.createContainerInLocation(Location,String,CreateContainerOptions)public com.google.common.util.concurrent.ListenableFuture<PageSet<? extends StorageMetadata>> list(String container)
list in interface AsyncBlobStoreBlobStore.list(String)public com.google.common.util.concurrent.ListenableFuture<PageSet<? extends StorageMetadata>> list(String container, ListContainerOptions options)
list in interface AsyncBlobStoreBlobStore.list(String, ListContainerOptions)public com.google.common.util.concurrent.ListenableFuture<Void> clearContainer(String container)
clearContainer in interface AsyncBlobStoreBlobStore.clearContainer(String)public com.google.common.util.concurrent.ListenableFuture<Void> clearContainer(String container, ListContainerOptions options)
clearContainer in interface AsyncBlobStoreBlobStore.clearContainer(String, ListContainerOptions)public com.google.common.util.concurrent.ListenableFuture<Void> deleteContainer(String container)
deleteContainer in interface AsyncBlobStoreBlobStore.deleteContainer(java.lang.String)public com.google.common.util.concurrent.ListenableFuture<Boolean> directoryExists(String container, String directory)
directoryExists in interface AsyncBlobStoreBlobStore.directoryExists(java.lang.String, java.lang.String)public com.google.common.util.concurrent.ListenableFuture<Void> createDirectory(String container, String directory)
createDirectory in interface AsyncBlobStoreBlobStore.createDirectory(java.lang.String, java.lang.String)public com.google.common.util.concurrent.ListenableFuture<Void> deleteDirectory(String containerName, String name)
deleteDirectory in interface AsyncBlobStoreBlobStore.deleteDirectory(java.lang.String, java.lang.String)public com.google.common.util.concurrent.ListenableFuture<Boolean> blobExists(String container, String name)
blobExists in interface AsyncBlobStoreBlobStore.blobExists(java.lang.String, java.lang.String)public com.google.common.util.concurrent.ListenableFuture<String> putBlob(String container, Blob blob)
putBlob in interface AsyncBlobStoreBlobStore.putBlob(String,Blob)public com.google.common.util.concurrent.ListenableFuture<String> putBlob(String container, Blob blob, PutOptions options)
putBlob in interface AsyncBlobStoreBlobStore.putBlob(String,Blob,PutOptions)public com.google.common.util.concurrent.ListenableFuture<BlobMetadata> blobMetadata(String container, String key)
blobMetadata in interface AsyncBlobStoreBlobStore.blobMetadata(java.lang.String, java.lang.String)public com.google.common.util.concurrent.ListenableFuture<Blob> getBlob(String container, String key)
getBlob in interface AsyncBlobStoreBlobStore.getBlob(String, String)public com.google.common.util.concurrent.ListenableFuture<Blob> getBlob(String container, String key, GetOptions options)
getBlob in interface AsyncBlobStoreBlobStore.getBlob(String, String, GetOptions)public com.google.common.util.concurrent.ListenableFuture<Void> removeBlob(String container, String key)
removeBlob in interface AsyncBlobStoreBlobStore.removeBlob(java.lang.String, java.lang.String)public com.google.common.util.concurrent.ListenableFuture<Long> countBlobs(String container)
countBlobs in interface AsyncBlobStoreBlobStore.countBlobs(String)public com.google.common.util.concurrent.ListenableFuture<Long> countBlobs(String container, ListContainerOptions options)
countBlobs in interface AsyncBlobStoreBlobStore.countBlobs(String,ListContainerOptions)Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.