public interface BlobStoreContext
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() |
BlobRequestSigner |
getSigner()
Generates signed requests for blobs.
|
Utils |
getUtils() |
Utils |
utils() |
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()
<S,A> RestContext<S,A> getProviderSpecificContext()
Utils getUtils()
Utils utils()
getUtils()
void close()
Copyright © 2009-2012 jclouds. All Rights Reserved.