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 void DoDeleteL ( TPageRef )
IMPORT_C TPageRef ExtendL (const TAny *, TPageReclamation )
IMPORT_C void ReadL ( TPageRef , TAny *)
IMPORT_C void WriteL ( 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_C RSecureStorePagePool ( const CPBEncryptSet & aKey )

Parameters

const CPBEncryptSet & aKey

RSecureStorePagePool(CPageCache &, const CPBEncryptSet &)

IMPORT_C RSecureStorePagePool ( CPageCache & aCache,
const CPBEncryptSet & aKey
)

Parameters

CPageCache & aCache
const CPBEncryptSet & aKey

Member Functions Documentation

DoDeleteL(TPageRef)

IMPORT_C void DoDeleteL ( TPageRef aRef ) [protected, virtual]

Deletes a specified page.

Parameters

TPageRef aRef Reference to page to delete

ExtendL(const TAny *, TPageReclamation)

IMPORT_C TPageRef ExtendL ( const TAny * aPage,
TPageReclamation aReclamation
) [protected, virtual]

Adds a new page to the pool.

Parameters

const TAny * aPage Data for the page
TPageReclamation aReclamation Flags that define how allocated pages can be reclaimed

ReadL(TPageRef, TAny *)

IMPORT_C void ReadL ( TPageRef aRef,
TAny * aPage
) [protected, virtual]

Reads a specified page from the pool.

Parameters

TPageRef aRef Reference to page to read
TAny * aPage On return, the page data

WriteL(TPageRef, const TAny *, TPageChange)

IMPORT_C void WriteL ( TPageRef aRef,
const TAny * aPage,
TPageChange aChange
) [protected, virtual]

Writes data to a page in the pool.

Parameters

TPageRef aRef Reference to the page to which to write
const TAny * aPage Data to write
TPageChange aChange Flags that define how a page should be treated when it is unlocked for writing

Member Data Documentation

const CPBEncryptSet & iKey

const CPBEncryptSet & iKey [private]