Skip to main content

Module paged

Module paged 

Source
Expand description

Immutable byte pages backed by native cache loading and direct range reads.

Structsยง

CachedPage ๐Ÿ”’
PageCacheObserver
Caller-bound metrics without storage-engine dependencies or global registrations.
PageFetchStats
Byte accounting for one successful fetch. Hits are initial lookups, not waiters.
PagedCache
Caches fixed-size byte pages of immutable content identified by K. File identity must include any version needed to distinguish different contents. Missing pages elected by this fetch are submitted through [RangeReader::read_vec].

Enumsยง

PageEvent
Business-level events; callers retain their existing hit/miss metric units.

Functionsยง

check_file_size ๐Ÿ”’
invalid_request ๐Ÿ”’
unique_requested_bytes ๐Ÿ”’
Counts the union of request ranges already validated by fetch.