#include <s32page.h>
class CPageCache : public CBase |
Public Member Enumerations | |
---|---|
enum | anonymous { EDefaultPages } |
Public Member Functions | |
---|---|
CPageCache() | |
~CPageCache() | |
IMPORT_C void | ConstructL(TInt) |
IMPORT_C CPageCache * | NewL(TInt) |
IMPORT_C CPageCache * | NewLC(TInt) |
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.
Enumerator | Value | Description |
---|---|---|
EDefaultPages | 20 |
IMPORT_C void | ConstructL | ( | TInt | aPages = EDefaultPages | ) |
Second phase construction.
Parameters | |
---|---|
aPages | Number of pages in the cache |
IMPORT_C CPageCache * | NewL | ( | TInt | aPages = EDefaultPages | ) | [static] |
Allocates and constructs a new page cache.
Parameters | |
---|---|
aPages | Number of pages in the cache |
IMPORT_C CPageCache * | NewLC | ( | TInt | aPages = EDefaultPages | ) | [static] |
Allocates and constructs a new page cache, and leaves it on the cleanup stack.
Parameters | |
---|---|
aPages | Number of pages in the cache |