Public Member Functions | |
| void | tc_AddRec (uint64_t log_position, MSTransPtr rec, TRef tref=TRANS_CACHE_UNKNOWN_REF) |
| void | tc_LoadRec (uint64_t log_position, MSTransPtr rec) |
| bool | tc_GetTransaction (TRef *ref, bool *terminated) |
| uint32_t | tc_GetTransactionID (TRef ref) |
| MS_TxnState | tc_TransactionState (TRef ref) |
| void | tc_FreeTransaction (TRef tref) |
| bool | tc_GetTransactionStartPosition (uint64_t *log_position) |
| bool | tc_GetRecAt (TRef tref, size_t index, MSTransPtr rec, MS_TxnState *state) |
| uint32_t | tc_GetCacheUsed () |
| uint32_t | tc_GetPercentCacheUsed () |
| uint32_t | tc_GetPercentCacheHit () |
| void | tc_SetRecovering (bool recovering) |
| bool | tc_ShoulReloadCache () |
| uint64_t | tc_StartCacheReload (bool startup=false) |
| bool | tc_ContinueCacheReload () |
| void | tc_CompleteCacheReload () |
| void | tc_UpdateCacheVersion () |
| void | tc_SetSize (uint32_t cache_size) |
| void | tc_dropDatabase (uint32_t db_id) |
| 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 MSTransCache * | newMSTransCache (uint32_t cache_size) |
Private Member Functions | |
| void | tc_Initialize (uint32_t size) |
| TRef | tc_NewTransaction (uint32_t tid) |
| void | tc_FindTXNRef (uint32_t tid, TRef *tref) |
Private Attributes | |
| struct TransList * | tc_List |
| struct TransList * | tc_OverFlow |
| uint32_t | tc_Size |
| uint32_t | tc_EOL |
| uint32_t | tc_First |
| uint32_t | tc_Used |
| uint64_t | tc_TotalTransCount |
| uint64_t | tc_TotalCacheCount |
| CSThread * | tc_ReLoadingThread |
| uint32_t | tc_OverFlowTID |
| bool | tc_Full |
| uint32_t | tc_CacheVersion |
| bool | tc_Recovering |
Friends | |
| class | CSSync |
| class | CSLock |
Definition at line 39 of file trans_cache_ms.h.