|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.common.collect.ForwardingObject
org.jclouds.internal.BaseView
org.jclouds.blobstore.internal.BlobStoreContextImpl
@Singleton public class BlobStoreContextImpl
| Constructor Summary | |
|---|---|
BlobStoreContextImpl(org.jclouds.Context backend,
com.google.common.reflect.TypeToken<? extends org.jclouds.Context> backendType,
BlobMap.Factory blobMapFactory,
org.jclouds.rest.Utils utils,
ConsistencyModel consistencyModel,
InputStreamMap.Factory inputStreamMapFactory,
AsyncBlobStore ablobStore,
BlobStore blobStore,
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()
|
BlobRequestSigner |
getSigner()
Generates signed requests for blobs. |
org.jclouds.rest.Utils |
getUtils()
|
int |
hashCode()
|
String |
toString()
|
org.jclouds.rest.Utils |
utils()
|
| Methods inherited from class org.jclouds.internal.BaseView |
|---|
delegate, getBackendType, string, unwrap, unwrap |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jclouds.View |
|---|
getBackendType, unwrap, unwrap |
| Constructor Detail |
|---|
@Inject
public BlobStoreContextImpl(org.jclouds.Context backend,
com.google.common.reflect.TypeToken<? extends org.jclouds.Context> backendType,
BlobMap.Factory blobMapFactory,
org.jclouds.rest.Utils utils,
ConsistencyModel consistencyModel,
InputStreamMap.Factory inputStreamMapFactory,
AsyncBlobStore ablobStore,
BlobStore blobStore,
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 org.jclouds.rest.Utils getUtils()
getUtils in interface BlobStoreContextpublic org.jclouds.rest.Utils utils()
utils in interface BlobStoreContextBlobStoreContext.getUtils()public BlobRequestSigner getSigner()
BlobStoreContext
getSigner in interface BlobStoreContextpublic void close()
BlobStoreContext
close in interface Closeableclose in interface BlobStoreContextpublic int hashCode()
hashCode in class org.jclouds.internal.BaseViewpublic String toString()
toString in class org.jclouds.internal.BaseViewpublic boolean equals(Object obj)
equals in class org.jclouds.internal.BaseView
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||