Expand description
Content-Addressable Cache with LRU eviction and TTL support.
Provides a high-performance, in-memory cache keyed by content-derived CIDs (FNV-1a). Supports multiple eviction policies, TTL expiration, tag-based grouping, and rich stats.
Structs§
- Cache
Config - Configuration for
ContentAddressableCache. - Cache
Entry - A single entry stored in the cache.
- Cache
Stats - Snapshot of cache performance counters.
- Content
Addressable Cache - High-performance content-addressable cache.
- LruNode
- A node in the index-based doubly-linked LRU list.
Enums§
- Cache
Error - Errors that can arise during cache operations.
- Eviction
Policy - Eviction policy controlling which entry is removed when the cache is full.