MPagePool Class Reference
Interface to a page pool, the storage abstraction used by the B-trees API.
The interface is abstract and handles pages as TAny pointers. It is left to derived classes to implement page storage in a particular storage medium, such as memory or disk.
Member Functions Documentation
AcquireL()
Returns a function that abandons all locked pages for this page pool.
AllocL()
TAny * | AllocL | ( | ) | [pure virtual] |
AssignL(const TAny *, TPageReclamation)
Delete(TPageRef)
Deletes a page, ignoring any errors.
Parameters
TPageRef aRef | Reference to the page to delete |
DeleteL(TPageRef)
Deletes a page, leaving if an error occurs.
Parameters
TPageRef aRef | Reference to the page to delete |
DoDeleteL(TPageRef)
void | DoDeleteL | ( | TPageRef | aRef | ) | [protected, pure virtual] |
LockL(TPageRef)
Locks a page and returns a pointer to it.
Parameters
TPageRef aRef | Reference to the page to lock |
Pop()
Do a pop from the cleanup stack.
PushL()
Pushes this object onto the cleanup stack.
Unlock(const TAny *, TPageChange)
void | Unlock | ( | const TAny * | aPage, |
| TPageChange | aChange = EPageNoChange |
| ) | [pure virtual] |
Parameters
const TAny * aPage | Page to unlock |
TPageChange aChange = EPageNoChange | How the page should be treated once it is unlocked |
UpdateL(const TAny *)
void | UpdateL | ( | const TAny * | aPage | ) | [pure virtual] |
Updates a page.
This can be used for cached pages that may have become outdated.
Parameters
const TAny * aPage | Page to update |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.