FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kPageCache_Construct ( kPageCache cache,
kSize  pageCapacity,
kSize  pageSize,
kSize  spareSize,
kAlloc  allocator 
)

Constructs a kPageCache object.

Parameters
cacheDestination for the constructed object handle.
pageCapacityMaximum count of pages to cache.
pageSizeSize of each page, in bytes.
spareSizeSize of spare/tag memory associated with each page.
allocatorMemory allocator (or kNULL for default).
Returns
Operation status.