public interface BlobStoreContext extends Closeable, View
Modifier and Type | Method and Description |
---|---|
void |
close()
closes threads and resources related to this connection.
|
BlobMap |
createBlobMap(String container)
Creates a
Map view of the specified container. |
BlobMap |
createBlobMap(String container,
ListContainerOptions options)
Creates a
Map view of the specified container. |
InputStreamMap |
createInputStreamMap(String container)
Creates a
Map view of the specified container. |
InputStreamMap |
createInputStreamMap(String container,
ListContainerOptions options)
Creates a
Map view of the specified container. |
AsyncBlobStore |
getAsyncBlobStore() |
BlobStore |
getBlobStore() |
ConsistencyModel |
getConsistencyModel() |
<S,A> RestContext<S,A> |
getProviderSpecificContext()
Deprecated.
|
BlobRequestSigner |
getSigner()
Generates signed requests for blobs.
|
Utils |
getUtils() |
Utils |
utils() |
getBackendType, unwrap, unwrap, unwrap
BlobRequestSigner getSigner()
InputStreamMap createInputStreamMap(String container, ListContainerOptions options)
Map
view of the specified container. Use this for
simplest access to blobstore, knowing that MD5s will be calculated for every object.container
- existing container you wish to read or modifyoptions
- allow you to specify a directory within the container, or whether to list
recursively.InputStreamMap createInputStreamMap(String container)
Map
view of the specified container. Use this for
simplest access to blobstore, knowing that MD5s will be calculated for every object.
Only root-level blobs will be visible.container
- existing container you wish to read or modifyBlobMap createBlobMap(String container, ListContainerOptions options)
Map
view of the specified container. Use this when you wan
to control the content type, or manually specify length or size of blobs.container
- existing container you wish to read or modifyoptions
- allow you to specify a directory within the container, or whether to list
recursively.BlobMap createBlobMap(String container)
Map
view of the specified container. Use this when you wan
to control the content type, or manually specify length or size of blobs.
Only root-level blobs will be visible.container
- existing container you wish to read or modifyAsyncBlobStore getAsyncBlobStore()
Future
s for
each call.BlobStore getBlobStore()
ConsistencyModel getConsistencyModel()
Utils getUtils()
Utils utils()
getUtils()
@Deprecated <S,A> RestContext<S,A> getProviderSpecificContext()
View#getInputType
,
View.unwrap(com.google.common.reflect.TypeToken<C>)
void close()
close
in interface AutoCloseable
close
in interface Closeable
Copyright © 2009-2013 jclouds. All Rights Reserved.