RSecureStorePagePool Class Reference

class RSecureStorePagePool : public RStorePagePool

Uses an encrypted store to implement the page pool interface MPagePool.

A secure store page pool uses a cache to store pages in-memory and to cache frequently accessed pages. You should provide a cache object (CPageCache) to the pool for this purpose.

CPageCache

Inherits from

Public Member Functions
RSecureStorePagePool(const CPBEncryptSet &)
RSecureStorePagePool(CPageCache &, const CPBEncryptSet &)
Protected Member Functions
IMPORT_C voidDoDeleteL(TPageRef)
IMPORT_C TPageRefExtendL(const TAny *, TPageReclamation)
IMPORT_C voidReadL(TPageRef, TAny *)
IMPORT_C voidWriteL(TPageRef, const TAny *, TPageChange)
Inherited Functions
MPagePool::Delete(TPageRef)
MPagePool::DeleteL(TPageRef)
MPagePool::Pop()
MPagePool::PushL()
RStorePagePool::Close()
RStorePagePool::Create(CStreamStore &)
RStorePagePool::Discard()
RStorePagePool::HasAvailable()const
RStorePagePool::IsDirty()const
RStorePagePool::IsEmpty()const
RStorePagePool::MarkCurrent()
RStorePagePool::MarkDirty()
RStorePagePool::Open(CStreamStore &,const TStorePagePoolToken &)
RStorePagePool::RStorePagePool()
RStorePagePool::RStorePagePool(CPageCache &)
RStorePagePool::RStorePagePool(CStreamStore &)
RStorePagePool::RStorePagePool(CStreamStore &,const TStorePagePoolToken &)
RStorePagePool::ReclaimAllL()
RStorePagePool::ReclaimL()
RStorePagePool::Release()
RStorePagePool::Token()const
TCachePagePool::AcquireL()
TCachePagePool::AllocL()
TCachePagePool::AssignL(const TAny *,TPageReclamation)
TCachePagePool::Flush()
TCachePagePool::FlushL()
TCachePagePool::LockL(TPageRef)
TCachePagePool::Purge()
TCachePagePool::Set(CPageCache &)
TCachePagePool::TCachePagePool()
TCachePagePool::TCachePagePool(CPageCache &)
TCachePagePool::Unlock(const TAny *,TPageChange)
TCachePagePool::UpdateL(const TAny *)
Private Attributes
const CPBEncryptSet &iKey

Constructor & Destructor Documentation

RSecureStorePagePool(const CPBEncryptSet &)

IMPORT_CRSecureStorePagePool(const CPBEncryptSet &aKey)

Parameters

const CPBEncryptSet & aKey

RSecureStorePagePool(CPageCache &, const CPBEncryptSet &)

IMPORT_CRSecureStorePagePool(CPageCache &aCache,
const CPBEncryptSet &aKey
)

Parameters

CPageCache & aCache
const CPBEncryptSet & aKey

Member Functions Documentation

DoDeleteL(TPageRef)

IMPORT_C voidDoDeleteL(TPageRefaRef)[protected, virtual]

Deletes a specified page.

Parameters

TPageRef aRefReference to page to delete

ExtendL(const TAny *, TPageReclamation)

IMPORT_C TPageRefExtendL(const TAny *aPage,
TPageReclamationaReclamation
)[protected, virtual]

Adds a new page to the pool.

Parameters

const TAny * aPageData for the page
TPageReclamation aReclamationFlags that define how allocated pages can be reclaimed

ReadL(TPageRef, TAny *)

IMPORT_C voidReadL(TPageRefaRef,
TAny *aPage
)[protected, virtual]

Reads a specified page from the pool.

Parameters

TPageRef aRefReference to page to read
TAny * aPageOn return, the page data

WriteL(TPageRef, const TAny *, TPageChange)

IMPORT_C voidWriteL(TPageRefaRef,
const TAny *aPage,
TPageChangeaChange
)[protected, virtual]

Writes data to a page in the pool.

Parameters

TPageRef aRefReference to the page to which to write
const TAny * aPageData to write
TPageChange aChangeFlags that define how a page should be treated when it is unlocked for writing

Member Data Documentation

const CPBEncryptSet & iKey

const CPBEncryptSet &iKey[private]