Public Member Functions | |
void | txn_LogTransaction (MS_Txn type, bool autocommit=false, uint32_t db_id=0, uint32_t tab_id=0, uint64_t blob_id=0, uint64_t blob_ref_id=0) |
void | txn_LogPartialRollBack (uint32_t rollBackCount) |
void | txn_SetCheckPoint (uint16_t checkpoint) |
void | txn_SetCacheSize (uint32_t new_size) |
void | txn_SetLogSize (uint64_t new_size) |
void | txn_Close () |
uint64_t | txn_GetSize () |
uint64_t | txn_GetNumRecords () |
void | txn_BackupStarting () |
bool | txn_haveNextTransaction () |
void | txn_BackupCompleted () |
void | txn_GetNextTransaction (MSTransPtr tran, MS_TxnState *state) |
void | txn_SetReader (CSDaemon *reader) |
bool | txn_FindBlobRef (MS_TxnState *state, uint32_t db_id, uint32_t tab_id, uint64_t blob_id) |
void | txn_dropDatabase (uint32_t db_id) |
uint64_t | txn_GetStartPosition () |
const char * | txn_GetTXNLogPath () |
void | txn_GetStats (MSTransStatsPtr stats) |
virtual void | retain () |
virtual void | release () |
uint32_t | getRefCount () |
virtual void | finalize () |
virtual CSObject * | getKey () |
virtual int | compareKey (CSObject *) |
virtual uint32_t | hashKey () |
virtual CSObject * | getHashLink () |
virtual void | setHashLink (CSObject *) |
virtual CSObject * | getNextLink () |
virtual CSObject * | getPrevLink () |
virtual void | setNextLink (CSObject *) |
virtual void | setPrevLink (CSObject *) |
virtual void | wait () |
void | wait (time_t mill_sec) |
virtual void | wakeup () |
virtual void | lock () |
virtual void | unlock () |
virtual bool | haveLock () |
Static Public Member Functions | |
static MSTrans * | txn_NewMSTrans (const char *log_path, bool dump_log=false) |
Private Member Functions | |
void | txn_PerformIdleTasks () |
void | txn_ResizeLog () |
void | txn_NewTransaction () |
bool | txn_IsFull () |
void | txn_SetFile (CSFile *tr_file) |
bool | txn_ValidRecord (MSTransPtr rec) |
void | txn_GetRecordAt (uint64_t index, MSTransPtr rec) |
void | txn_ResetReadPosition (uint64_t pos) |
void | txn_ResetEOL () |
void | txn_Recover () |
void | txn_ReadLog (uint64_t read_start, bool log_locked, CanContinueFunc canContinue, LoadFunc load) |
void | txn_LoadTransactionCache (uint64_t read_start) |
void | txn_AddTransaction (uint8_t tran_type, bool autocommit=false, uint32_t db_id=0, uint32_t tab_id=0, uint64_t blob_id=0, uint64_t blob_ref_id=0) |
Private Attributes | |
uint16_t | txn_MaxCheckPoint |
bool | txn_Doingbackup |
CSDaemon * | txn_reader |
bool | txn_IsTxnValid |
TRef | txn_CurrentTxn |
uint32_t | txn_TxnIndex |
int32_t | txn_StartCheckPoint |
MSTransCache * | txn_TransCache |
uint32_t | txn_BlockingTransaction |
MSDiskTransHeadRec | txn_DiskHeader |
CSFile * | txn_File |
int32_t | txn_EOLCheckPoint |
uint64_t | txn_MaxRecords |
uint64_t | txn_ReqestedMaxRecords |
uint64_t | txn_HighWaterMark |
uint64_t | txn_OverflowCount |
uint32_t | txn_MaxTID |
bool | txn_Recovered |
bool | txn_HaveOverflow |
uint64_t | txn_Overflow |
uint64_t | txn_EOL |
uint64_t | txn_Start |
uint8_t | txn_Checksum |
Friends | |
class | ReadTXNLog |
class | CSSync |
class | CSLock |
Definition at line 150 of file trans_log_ms.h.