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.ForwardingObject
public BlobStoreContext getContext()
getContext
in interface AsyncBlobStore
BlobStore.getContext()
public BlobBuilder blobBuilder(String name)
blobBuilder
in interface AsyncBlobStore
BlobStore.blobBuilder(java.lang.String)
public com.google.common.util.concurrent.ListenableFuture<Set<? extends Location>> listAssignableLocations()
listAssignableLocations
in interface AsyncBlobStore
BlobStore.listAssignableLocations()
public com.google.common.util.concurrent.ListenableFuture<PageSet<? extends StorageMetadata>> list()
list
in interface AsyncBlobStore
BlobStore.list()
public com.google.common.util.concurrent.ListenableFuture<Boolean> containerExists(String container)
containerExists
in interface AsyncBlobStore
BlobStore.containerExists(java.lang.String)
public com.google.common.util.concurrent.ListenableFuture<Boolean> createContainerInLocation(Location location, String container)
createContainerInLocation
in interface AsyncBlobStore
BlobStore.createContainerInLocation(Location, String)
public com.google.common.util.concurrent.ListenableFuture<Boolean> createContainerInLocation(Location location, String container, CreateContainerOptions options)
createContainerInLocation
in interface AsyncBlobStore
BlobStore.createContainerInLocation(Location,String,CreateContainerOptions)
public com.google.common.util.concurrent.ListenableFuture<PageSet<? extends StorageMetadata>> list(String container)
list
in interface AsyncBlobStore
BlobStore.list(String)
public com.google.common.util.concurrent.ListenableFuture<PageSet<? extends StorageMetadata>> list(String container, ListContainerOptions options)
list
in interface AsyncBlobStore
BlobStore.list(String, ListContainerOptions)
public com.google.common.util.concurrent.ListenableFuture<Void> clearContainer(String container)
clearContainer
in interface AsyncBlobStore
BlobStore.clearContainer(String)
public com.google.common.util.concurrent.ListenableFuture<Void> clearContainer(String container, ListContainerOptions options)
clearContainer
in interface AsyncBlobStore
BlobStore.clearContainer(String, ListContainerOptions)
public com.google.common.util.concurrent.ListenableFuture<Void> deleteContainer(String container)
deleteContainer
in interface AsyncBlobStore
BlobStore.deleteContainer(java.lang.String)
public com.google.common.util.concurrent.ListenableFuture<Boolean> directoryExists(String container, String directory)
directoryExists
in interface AsyncBlobStore
BlobStore.directoryExists(java.lang.String, java.lang.String)
public com.google.common.util.concurrent.ListenableFuture<Void> createDirectory(String container, String directory)
createDirectory
in interface AsyncBlobStore
BlobStore.createDirectory(java.lang.String, java.lang.String)
public com.google.common.util.concurrent.ListenableFuture<Void> deleteDirectory(String containerName, String name)
deleteDirectory
in interface AsyncBlobStore
BlobStore.deleteDirectory(java.lang.String, java.lang.String)
public com.google.common.util.concurrent.ListenableFuture<Boolean> blobExists(String container, String name)
blobExists
in interface AsyncBlobStore
BlobStore.blobExists(java.lang.String, java.lang.String)
public com.google.common.util.concurrent.ListenableFuture<String> putBlob(String container, Blob blob)
putBlob
in interface AsyncBlobStore
BlobStore.putBlob(String,Blob)
public com.google.common.util.concurrent.ListenableFuture<String> putBlob(String container, Blob blob, PutOptions options)
putBlob
in interface AsyncBlobStore
BlobStore.putBlob(String,Blob,PutOptions)
public com.google.common.util.concurrent.ListenableFuture<BlobMetadata> blobMetadata(String container, String key)
blobMetadata
in interface AsyncBlobStore
BlobStore.blobMetadata(java.lang.String, java.lang.String)
public com.google.common.util.concurrent.ListenableFuture<Blob> getBlob(String container, String key)
getBlob
in interface AsyncBlobStore
BlobStore.getBlob(String, String)
public com.google.common.util.concurrent.ListenableFuture<Blob> getBlob(String container, String key, GetOptions options)
getBlob
in interface AsyncBlobStore
BlobStore.getBlob(String, String, GetOptions)
public com.google.common.util.concurrent.ListenableFuture<Void> removeBlob(String container, String key)
removeBlob
in interface AsyncBlobStore
BlobStore.removeBlob(java.lang.String, java.lang.String)
public com.google.common.util.concurrent.ListenableFuture<Long> countBlobs(String container)
countBlobs
in interface AsyncBlobStore
BlobStore.countBlobs(String)
public com.google.common.util.concurrent.ListenableFuture<Long> countBlobs(String container, ListContainerOptions options)
countBlobs
in interface AsyncBlobStore
BlobStore.countBlobs(String,ListContainerOptions)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.