| java.lang.Object com.quadcap.sql.file.Logger1
Logger1 | public class Logger1 implements Logger(Code) | | A Logger implmeentation using a fixed size circular buffer.
author: Stan Bailes |
Inner Class :class TransMap | |
liveTrans | int liveTrans(Code) | | Keep the actual count of live transactions as determined by calls
to beginTransaction, endTransaction.
|
numTrans | int numTrans(Code) | | Keeps track of the number of TransMap entries allocated. Some entries
will correspond to completed but not yet checkpointed transactions,
so this number may be larger than the number of actual live transactions.
|
prevOp | long prevOp(Code) | | The starting position of the most recent op we wrote to the file
|
trans | TransMap[] trans(Code) | | Transaction map:
- ordered by transactionStart
- first transaction is the oldest transaction still running
so when committing the oldest transaction, move the begin
- last transaction is the newest transaction still running
transactions!
|
findTransaction | int findTransaction(long transId)(Code) | | Find the TransMap entry for the given transaction id
|
getActiveTransactionCount | public int getActiveTransactionCount()(Code) | | |
getActiveTransactions | public LongMap getActiveTransactions()(Code) | | |
getCheckpoint | public int getCheckpoint()(Code) | | |
getEnd | public int getEnd()(Code) | | |
getOldestTransaction | public long getOldestTransaction()(Code) | | |
|
|