Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <S32PAGE.H>
Link against: estor.lib

Class CPageCache

class CPageCache : public CBase;

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.

Derivation

Members

Defined in CPageCache:

Inherited from CBase:


Construction and destruction


NewL(TInt)

IMPORT_C static CPageCache* NewL(TInt aPages=EDefaultPages);

Description

Allocates and constructs a new page cache.

Parameters

TInt aPages

Number of pages in the cache

Return value

CPageCache *

New page cache object


NewLC(TInt)

IMPORT_C static CPageCache* NewLC(TInt aPages=EDefaultPages);

Description

Allocates and constructs a new page cache, and leaves it on the cleanup stack.

Parameters

TInt aPages

Number of pages in the cache

Return value

CPageCache *

New page cache object


CPageCache()

IMPORT_C CPageCache();

Description

Default constructor.


ConstructL(TInt)

IMPORT_C void ConstructL(TInt aPages=EDefaultPages);

Description

Second phase construction.

Parameters

TInt aPages

Number of pages in the cache


~CPageCache()

IMPORT_C ~CPageCache();

Description

Destructor.

All cache pages are deleted.

[Top]


Member enumerations


Enum anonymous

n/a

Description

EDefaultPages