|
FireSync API
|
| kStatus kPageCache_AllocatePage | ( | kPageCache | cache, |
| kSize | pageIndex, | ||
| kPageCacheItem * | page | ||
| ) |
Adds a page associated with the specified page index to the page cache.
If there is a page already associated with the specified page index, it will be replaced.
If there are no free pages available, the least recently used page will be replaced.
| cache | kPageCache object. |
| pageIndex | Page index. |
| page | Receives a reference to the new page cache entry. |