Skip to main content

Module tiered_cache

Module tiered_cache 

Source
Expand description

Multi-tier cache storage, policy, and errors.

Structs§

AccessStats
Access statistics used by TierPolicy implementations.
CacheEntry
Metadata for a cached entry.
CacheTier
A single cache tier with a fixed capacity.
LruPolicy
LRU eviction policy with frequency-based promotion.
TieredCache
Generic tiered cache for GPU buffers.

Enums§

CacheError
Errors that can occur during cache operations.

Traits§

TierPolicy
Policy that decides promotion and eviction behavior.