Skip to main content

Module block_cache_manager

Module block_cache_manager 

Source
Expand description

Multi-tier, policy-driven block cache manager for IPFS-style content-addressed storage.

BlockCacheManager provides a three-tier caching system (Hot, Warm, Cold) with configurable eviction policies (LRU, LFU, TwoQ, ARC), promotion/demotion logic based on access-count thresholds, and pin-protection for blocks that must survive eviction.

Structs§

BcmCacheConfig
Configuration for BlockCacheManager.
BcmCacheStats
Snapshot of BlockCacheManager operational statistics.
BcmCachedBlock
A single entry in the block cache.
BlockCacheManager
A multi-tier, policy-driven block cache.

Enums§

CacheTier
Which tier a cached block lives in.
EvictionPolicy
Strategy used to select victims during eviction.