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, BlobStoreContext, org.jclouds.View
@Singleton
public class BlobStoreContextImpl
- extends org.jclouds.internal.BaseView
- implements BlobStoreContext
| Methods inherited from class org.jclouds.internal.BaseView |
delegate, getBackendType, string, unwrap, unwrap, unwrapApi |
| Methods inherited from interface org.jclouds.View |
getBackendType, unwrap, unwrap, unwrapApi |
BlobStoreContextImpl
@Inject
public BlobStoreContextImpl(org.jclouds.Context backend,
com.google.common.reflect.TypeToken<? extends org.jclouds.Context> backendType,
org.jclouds.rest.Utils utils,
ConsistencyModel consistencyModel,
AsyncBlobStore ablobStore,
BlobStore blobStore,
BlobRequestSigner blobRequestSigner)
getConsistencyModel
public ConsistencyModel getConsistencyModel()
- Specified by:
getConsistencyModel in interface BlobStoreContext
- Returns:
- best guess at the consistency model used in this BlobStore.
getBlobStore
public BlobStore getBlobStore()
- Specified by:
getBlobStore in interface BlobStoreContext
- Returns:
- a portable interface for the BlobStore.
getAsyncBlobStore
public AsyncBlobStore getAsyncBlobStore()
- Specified by:
getAsyncBlobStore in interface BlobStoreContext
- Returns:
- a portable asynchronous interface for the BlobStore, which returns
Futures for each call.
utils
public org.jclouds.rest.Utils utils()
- Specified by:
utils in interface BlobStoreContext
getSigner
public BlobRequestSigner getSigner()
- Description copied from interface:
BlobStoreContext
- Generates signed requests for blobs. useful in other tools such as backup utilities.
- Specified by:
getSigner in interface BlobStoreContext
close
public void close()
- Description copied from interface:
BlobStoreContext
- closes threads and resources related to this connection.
- Specified by:
close in interface Closeable- Specified by:
close in interface BlobStoreContext
hashCode
public int hashCode()
- Overrides:
hashCode in class org.jclouds.internal.BaseView
toString
public String toString()
- Overrides:
toString in class org.jclouds.internal.BaseView
equals
public boolean equals(Object obj)
- Overrides:
equals in class org.jclouds.internal.BaseView
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.