const TUint32 | KNullPageRefValue |
typedef void(* | TPageAbandonFunction |
Typedef to define a function that abandons pages in page pool. It is used by MPagePool::AcquireL().
See also: MPagePool::AcquireL()
Flags that define how allocated pages can be reclaimed.
A BTree can locate some pages even when the tree is broken, but not all. The ones it cannot track must be tracked by the page pool in order to reclaim the storage if the tree breaks. The page can be deleted, but its space not reclaimed.
The page pool will not track these pages, so to retrieve the space the page must be deleted explicitly.
Enumerator | Value | Description |
---|---|---|
EPageDeleteOnly | ||
EPageReclaimable |
Page can be reclaimed. The page pool will track these pages, and will be able to reclaim the pages when, for example, RStorePagePool::ReclaimL() is called. |
Flags that define how a page should be treated when it is unlocked. Unlock only.
Enumerator | Value | Description |
---|---|---|
EPageNoChange | ||
EPageDirty |
Mark the page as dirty. | |
EPageUpdate |
Mark the page as needing a safe update. | |
EPageAbandon | -1 |
Discard the page. |