com.faunos.skwish.sys.mgr
Class TxnGapTable
java.lang.Object
com.faunos.skwish.sys.mgr.TxnGapTable
public class TxnGapTable
- extends Object
- Author:
- Babak Farhang
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TxnGapTable
protected TxnGapTable(FileChannel table)
throws IOException
- Creates a new instance with no log name.
- Throws:
IOException
TxnGapTable
protected TxnGapTable(FileChannel table,
String logName)
throws IOException
- Creates a new instance with the specified logName.
- Throws:
IOException
getCommitIdGap
public long getCommitIdGap(long txnId)
throws IOException,
NotFoundException
- Throws:
IOException
NotFoundException
newTxnId
public long newTxnId()
throws IOException
- Throws:
IOException
setGapValue
public void setGapValue(long gap,
long txnId)
throws IOException
- Throws:
IOException