Package org.jclouds.blobstore.internal
Class BlobStoreContextImpl
java.lang.Object
com.google.common.collect.ForwardingObject
org.jclouds.internal.BaseView
org.jclouds.blobstore.internal.BlobStoreContextImpl
- All Implemented Interfaces:
Closeable,AutoCloseable,BlobStoreContext,View
- Direct Known Subclasses:
S3BlobStoreContextImpl
-
Constructor Summary
ConstructorsConstructorDescriptionBlobStoreContextImpl(Context backend, com.google.common.reflect.TypeToken<? extends Context> backendType, Utils utils, ConsistencyModel consistencyModel, BlobStore blobStore, BlobRequestSigner blobRequestSigner) -
Method Summary
Methods inherited from class org.jclouds.internal.BaseView
delegate, getBackendType, string, unwrap, unwrap, unwrapApiMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jclouds.View
getBackendType, unwrap, unwrap, unwrapApi
-
Constructor Details
-
BlobStoreContextImpl
@Inject public BlobStoreContextImpl(Context backend, com.google.common.reflect.TypeToken<? extends Context> backendType, Utils utils, ConsistencyModel consistencyModel, BlobStore blobStore, BlobRequestSigner blobRequestSigner)
-
-
Method Details
-
getConsistencyModel
- Specified by:
getConsistencyModelin interfaceBlobStoreContext- Returns:
- best guess at the consistency model used in this BlobStore.
-
getBlobStore
- Specified by:
getBlobStorein interfaceBlobStoreContext- Returns:
- a portable interface for the BlobStore.
-
utils
- Specified by:
utilsin interfaceBlobStoreContext
-
getSigner
Description copied from interface:BlobStoreContextGenerates signed requests for blobs. useful in other tools such as backup utilities.- Specified by:
getSignerin interfaceBlobStoreContext
-
close
public void close()Description copied from interface:BlobStoreContextcloses threads and resources related to this connection.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceBlobStoreContext- Specified by:
closein interfaceCloseable
-
hashCode
public int hashCode() -
toString
-
equals
-