|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.blobstore.internal.BlobStoreContextImpl<S,A>
@Singleton public class BlobStoreContextImpl<S,A>
| Constructor Summary | |
|---|---|
BlobStoreContextImpl(BlobMap.Factory blobMapFactory,
Utils utils,
ConsistencyModel consistencyModel,
InputStreamMap.Factory inputStreamMapFactory,
AsyncBlobStore ablobStore,
BlobStore blobStore,
RestContext providerSpecificContext,
BlobRequestSigner blobRequestSigner)
|
|
| Method Summary | |
|---|---|
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. |
boolean |
equals(Object obj)
|
AsyncBlobStore |
getAsyncBlobStore()
|
BlobStore |
getBlobStore()
|
ConsistencyModel |
getConsistencyModel()
|
RestContext<S,A> |
getProviderSpecificContext()
|
BlobRequestSigner |
getSigner()
Generates signed requests for blobs. |
Utils |
getUtils()
|
int |
hashCode()
|
String |
toString()
|
Utils |
utils()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
@Inject
public BlobStoreContextImpl(BlobMap.Factory blobMapFactory,
Utils utils,
ConsistencyModel consistencyModel,
InputStreamMap.Factory inputStreamMapFactory,
AsyncBlobStore ablobStore,
BlobStore blobStore,
RestContext providerSpecificContext,
BlobRequestSigner blobRequestSigner)
| Method Detail |
|---|
public ConsistencyModel getConsistencyModel()
getConsistencyModel in interface BlobStoreContext
public BlobMap createBlobMap(String container,
ListContainerOptions options)
BlobStoreContextMap view of the specified container. Use this when you wan
to control the content type, or manually specify length or size of blobs.
createBlobMap in interface BlobStoreContextcontainer - existing container you wish to read or modifyoptions - allow you to specify a directory within the container, or whether to list
recursively.public BlobMap createBlobMap(String container)
BlobStoreContextMap 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.
createBlobMap in interface BlobStoreContextcontainer - existing container you wish to read or modify
public InputStreamMap createInputStreamMap(String container,
ListContainerOptions options)
BlobStoreContextMap view of the specified container. Use this for
simplest access to blobstore, knowing that MD5s will be calculated for every object.
createInputStreamMap in interface BlobStoreContextcontainer - existing container you wish to read or modifyoptions - allow you to specify a directory within the container, or whether to list
recursively.public InputStreamMap createInputStreamMap(String container)
BlobStoreContextMap 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.
createInputStreamMap in interface BlobStoreContextcontainer - existing container you wish to read or modifypublic BlobStore getBlobStore()
getBlobStore in interface BlobStoreContextpublic AsyncBlobStore getAsyncBlobStore()
getAsyncBlobStore in interface BlobStoreContextFutures for
each call.public RestContext<S,A> getProviderSpecificContext()
getProviderSpecificContext in interface BlobStoreContextpublic void close()
BlobStoreContext
close in interface BlobStoreContextpublic Utils getUtils()
getUtils in interface BlobStoreContextpublic Utils utils()
utils in interface BlobStoreContextBlobStoreContext.getUtils()public int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic BlobRequestSigner getSigner()
BlobStoreContext
getSigner in interface BlobStoreContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||