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, unwrapApi
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, 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:
getConsistencyModel
in interfaceBlobStoreContext
- Returns:
- best guess at the consistency model used in this BlobStore.
-
getBlobStore
- Specified by:
getBlobStore
in interfaceBlobStoreContext
- Returns:
- a portable interface for the BlobStore.
-
utils
- Specified by:
utils
in interfaceBlobStoreContext
-
getSigner
Description copied from interface:BlobStoreContext
Generates signed requests for blobs. useful in other tools such as backup utilities.- Specified by:
getSigner
in interfaceBlobStoreContext
-
close
public void close()Description copied from interface:BlobStoreContext
closes threads and resources related to this connection.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceBlobStoreContext
- Specified by:
close
in interfaceCloseable
-
hashCode
public int hashCode() -
toString
-
equals
-