CPageCache Class Reference
class CPageCache : public CBase |
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.
Constructor & Destructor Documentation
~CPageCache()
Destructor.
All cache pages are deleted.
Member Functions Documentation
ConstructL(TInt)
IMPORT_C void | ConstructL | ( | TInt | aPages = EDefaultPages | ) | |
Second phase construction.
Parameters
TInt aPages = EDefaultPages | Number of pages in the cache |
Find(TCachePagePool *, TPageRef)
NewL(TInt)
Allocates and constructs a new page cache.
Parameters
TInt aPages = EDefaultPages | Number of pages in the cache |
NewLC(TInt)
Allocates and constructs a new page cache, and leaves it on the cleanup stack.
Parameters
TInt aPages = EDefaultPages | Number of pages in the cache |
Member Data Documentation
SCachePage * iEnd
SCachePage * | iEnd | [private] |
TDblQue< TCachePage > iFree
SCachePage * iPages
SCachePage * | iPages | [private] |
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.