CPageCache Class Reference
class CPageCache : public CBase |
Detailed Description
Provides a cache for page pools.
Persistent page pools rely on a cache to provide in-memory space for their pages and to cache frequently accessed pages.
Member Enumeration Documentation
Enum anonymous
Enumerator | Value | Description |
---|
EDefaultPages | 20 | |
Constructor & Destructor Documentation
~CPageCache ( )
Destructor.
All cache pages are deleted.
Member Function Documentation
ConstructL ( TInt )
IMPORT_C void | ConstructL | ( | TInt | aPages = EDefaultPages | ) | |
Second phase construction.
Parameter | Description | aPages | Number of pages in the cache |
NewL ( TInt )
Allocates and constructs a new page cache.
Parameter | Description | aPages | Number of pages in the cache |
Returns: New page cache object
NewLC ( TInt )
Allocates and constructs a new page cache, and leaves it on the cleanup stack.
Parameter | Description | aPages | Number of pages in the cache |
Returns: New page cache object