@Singleton public class BlobStoreContextImpl extends BaseView implements BlobStoreContext
Constructor and Description |
---|
BlobStoreContextImpl(Context backend,
com.google.common.reflect.TypeToken<? extends Context> backendType,
Utils utils,
ConsistencyModel consistencyModel,
BlobStore blobStore,
BlobRequestSigner blobRequestSigner) |
Modifier and Type | Method and Description |
---|---|
void |
close()
closes threads and resources related to this connection.
|
boolean |
equals(Object obj) |
BlobStore |
getBlobStore() |
ConsistencyModel |
getConsistencyModel() |
BlobRequestSigner |
getSigner()
Generates signed requests for blobs.
|
int |
hashCode() |
String |
toString() |
Utils |
utils() |
delegate, getBackendType, string, unwrap, unwrap, unwrapApi
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getBackendType, unwrap, unwrap, unwrapApi
@Inject public BlobStoreContextImpl(Context backend, com.google.common.reflect.TypeToken<? extends Context> backendType, Utils utils, ConsistencyModel consistencyModel, BlobStore blobStore, BlobRequestSigner blobRequestSigner)
public ConsistencyModel getConsistencyModel()
getConsistencyModel
in interface BlobStoreContext
public BlobStore getBlobStore()
getBlobStore
in interface BlobStoreContext
public Utils utils()
utils
in interface BlobStoreContext
public BlobRequestSigner getSigner()
BlobStoreContext
getSigner
in interface BlobStoreContext
public void close()
BlobStoreContext
close
in interface Closeable
close
in interface AutoCloseable
close
in interface BlobStoreContext
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.