public class IscsiReadTrx extends Object implements IIscsiReadTrx
Modifier and Type | Field and Description |
---|---|
protected IBucketReadTrx |
mPageReadTrx
State of transaction including all cached stuff.
|
Constructor and Description |
---|
IscsiReadTrx(IBucketReadTrx pPageTrx)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Close this transaction
|
BlockDataElement |
getCurrentData()
The data that the cursor currently points on
|
byte[] |
getValueOfCurrentData()
A quick get method to get the value of the current data.
|
boolean |
isClosed()
Check whether or not this transaction has been closed
|
boolean |
moveTo(long pKey)
Move the cursor to the given data key
|
protected void |
setPageTransaction(IBucketReadTrx paramTransactionState)
Replace the state of the transaction.
|
protected IBucketReadTrx mPageReadTrx
public IscsiReadTrx(IBucketReadTrx pPageTrx) throws TTException
pPageTrx
- Transaction state to work with.TTException
- if something odd happens within the creation process.public boolean moveTo(long pKey)
moveTo
in interface IIscsiReadTrx
public byte[] getValueOfCurrentData()
getValueOfCurrentData
in interface IIscsiReadTrx
public BlockDataElement getCurrentData()
getCurrentData
in interface IIscsiReadTrx
public void close() throws TTIOException
close
in interface IIscsiReadTrx
TTIOException
public boolean isClosed()
isClosed
in interface IIscsiReadTrx
protected final void setPageTransaction(IBucketReadTrx paramTransactionState)
paramTransactionState
- State of transaction.Copyright © 2013. All Rights Reserved.