Logo Search packages:      
Sourcecode: maxdb-7.5.00 version File versions

hbd20.h File Reference


Detailed Description

BD-data-cache.

******************************************************************************

------------------------------------------------------------------------------

Author:
JuergenP

Definition in file hbd20.h.

#include "gsp00.h"
#include "ggg00.h"
#include "gbd00.h"
#include "gbd02.h"

Go to the source code of this file.

Functions

externPascal void bd20CheckExclusiveLockedPageForIO (tsp00_TaskId TaskId, tgg00_FileId &FileId, tsp00_PageNo PageNo, tbd02_RecoveryMode_Param recMode, tbd_nodeptr pCBlock, pasbool &bWritePage, tbd02_CachePageState &PageState)
externPascal void bd20CheckRootNptrs (tsp00_TaskId TaskId, tgg00_BasisError &TrError, tsp00_PageNo Root, tbd_nodeptr pNode, tbd_nodeptr pCBlock)
externPascal void bd20ClearAccessStatistic (tsp00_TaskId TaskId)
externPascal void bd20FlushDataCache (tgg00_TransContext &Trans)
externPascal void bd20ForcedIODone (tbd_nodeptr pCBlock, tsp00_TaskId TaskId)
externPascal void bd20FreePage (tsp00_TaskId TaskId, tsp00_PageNo PageNo, tbd02_RecoveryMode_Param recMode, tgg00_BasisError &TrError, tsp00_Int2 &ExclFileLockCnt)
externPascal void bd20GetAccessStatistic (tsp00_TaskId TaskId, tsp00_8ByteCounter &HistoryTotal, tsp00_8ByteCounter &HistoryHit, tsp00_8ByteCounter &HistoryMiss, tsp00_8ByteCounter &OmsDataTotal, tsp00_8ByteCounter &OmsDataHit, tsp00_8ByteCounter &OmsDataMiss, tsp00_8ByteCounter &SqlDataTotal, tsp00_8ByteCounter &SqlDataHit, tsp00_8ByteCounter &SqlDataMiss)
externPascal tgg00_Tfn_Param bd20GetFileTfn (tbd_nodeptr pCBlock)
externPascal void bd20GetPage (tsp00_TaskId TaskId, tgg00_WaitContext &WaitContext, tgg00_BasisError &TrError, tsp00_Int2 &ExclFileLockCnt, tgg00_FileId &FileId, tsp00_PageNo PageNo, tbd02_RecoveryMode_Param recMode, tbd_node_request_Param NodeRequest, tbd_nodeptr &nptr, tbd_nodeptr &cbptr, tbd02_CachePageState &PageState)
externPascal tsp00_Int2 bd20GetPageUsageCount (tbd_nodeptr pCBlock)
externPascal void bd20InitDataCache (tsp00_TaskId TaskId, tgg00_BasisError &TrError, tsp00_Int4 TotalFreeFrames, tsp00_Int4 TotalDataPages)
externPascal pasbool bd20IsPageChanged (tbd_nodeptr pCBlock)
externPascal pasbool bd20IsPageExclusiveLocked (tbd_nodeptr pCBlock)
externPascal pasbool bd20IsPageShareLocked (tbd_nodeptr pCBlock)
externPascal void bd20LockPageForFree (tsp00_TaskId TaskId, tgg00_BasisError &TrError, tgg00_FileId &FileId, tsp00_PageNo PageNo, tbd02_RecoveryMode_Param recMode, pasbool FirstCall, pasbool &PageLockedToFree, tbd02_CachePageState &PageState, tbd_nodeptr &nptr, tbd02_pDataCBlock &cbptr)
externPascal void bd20NewPage (tsp00_TaskId TaskId, tgg00_BasisError &TrError, tgg00_FileId &FileId, tsp00_PageNo PageNo, tbd02_RecoveryMode_Param recMode, tbd_nodeptr &nptr, tbd02_pDataCBlock &cbptr, tbd02_CachePageState &PageState)
externPascal void bd20ProtectDataCacheFrames (tsp00_TaskId TaskId, pasbool Enable)
externPascal void bd20ReplaceOldOccupant (tsp00_TaskId TaskId, tgg00_BasisError &TrError, tsp00_PageNo PageNo, tbd02_RecoveryMode_Param recMode, tbd_nodeptr cbptr, pasbool setBlockedForNewNode)
externPascal void bd20RReleasePage (tsp00_TaskId TaskId, tsp00_Int2 &ExclFileLockCnt, tgg00_FileId &FileId, tbd_nodeptr &nptr, tbd02_pDataCBlock &cbptr, tbd02_RecoveryMode_Param recMode, tbd_lru_info_Param LruInfo)
externPascal void bd20ShutdownDataCache (tsp00_TaskId TaskId, pasbool emergency_shutdown)
externPascal void bd20UsePage (tsp00_TaskId TaskId, tgg00_BasisError &TrError, tsp00_PageNo PageNo, tbd02_RecoveryMode_Param recMode, tbd_nodeptr cbptr, tbd_node_request_Param NodeRequest, tbd_nodeptr &nptr)
externPascal void bd20WReleasePage (tsp00_TaskId TaskId, tgg00_FileId &FileId, tsp00_Int2 &ExclFileLockCnt, tbd_nodeptr &nptr, tbd02_pDataCBlock &cbptr, tbd02_SwapState &IoState, tbd02_RecoveryMode_Param recMode)


Generated by  Doxygen 1.6.0   Back to index