public class CombinedReader extends Object implements IBackendReader
Constructor and Description |
---|
CombinedReader(IBackendReader pFirstReader,
IBackendReader pSecondReader)
Constructor.
|
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
|
public CombinedReader(IBackendReader pFirstReader, IBackendReader pSecondReader)
pFirstReader
- First reader to read the data frompSecondReader
- Second reader to read the data from, fallback from the first readerpublic 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 UberBucket readUber() throws TTIOException
readUber
in interface IBackendReader
TTIOException
public void close() throws TTIOException
close
in interface IBackendReader
TTIOException
- if something bad happens while accessCopyright © 2013. All Rights Reserved.