public class JCloudsReader extends Object implements IBackendReader
Modifier and Type | Field and Description |
---|---|
protected org.jclouds.blobstore.BlobStore |
mBlobStore
Blob Store for Reading the data.
|
protected IByteHandler.IByteHandlerPipeline |
mByteHandler
Inflater to decompress.
|
protected com.google.common.cache.Cache<Long,IBucket> |
mCache
Cache for reading data.
|
protected String |
mResourceName
Resource name of this container and the database.
|
Constructor and Description |
---|
JCloudsReader(org.jclouds.blobstore.BlobStore pBlobStore,
BucketFactory pFac,
IByteHandler.IByteHandlerPipeline pByteHandler,
String pResourceName) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closing the storage.
|
IBucket |
read(long pKey)
Getting a reference for the given pointer.
|
UberBucket |
readUber()
Reading the UberBucket
|
protected final org.jclouds.blobstore.BlobStore mBlobStore
protected final IByteHandler.IByteHandlerPipeline mByteHandler
protected final String mResourceName
public JCloudsReader(org.jclouds.blobstore.BlobStore pBlobStore, BucketFactory pFac, IByteHandler.IByteHandlerPipeline pByteHandler, String pResourceName) throws TTException
TTException
public UberBucket readUber() throws TTIOException
readUber
in interface IBackendReader
TTIOException
public IBucket read(long pKey) throws TTIOException
read
in interface IBackendReader
pKey
- the reference for the bucket to be determinedIBucket
as the base for a bucketTTIOException
public void close() throws TTIOException
close
in interface IBackendReader
TTIOException
- if something bad happens while accessCopyright © 2013. All Rights Reserved.