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
Constructor & Destructor Documentation
RSecureStorePagePool(const CPBEncryptSet &)
RSecureStorePagePool(CPageCache &, const CPBEncryptSet &)
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
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.