Expand description
LRU cache for deduplication hash lookups.
This module provides a fixed-capacity Least Recently Used (LRU) cache that accelerates repeated hash lookups during deduplication scans. When the cache is full, the least recently accessed entry is evicted.
§Key Types
LruCache- Generic fixed-capacity LRU cacheHashCache- Specialised cache mapping file paths to hash digestsCacheStats- Hit/miss statistics for the cacheDedupSessionCache- Session cache for thumbnails and fingerprints
Structs§
- Cache
Entry - A single entry in the
DedupSessionCache. - Cache
Stats - Statistics for cache performance.
- Dedup
Session Cache - Session-scoped cache for decoded thumbnails and fingerprints.
- Hash
Cache - Specialised hash cache mapping file path strings to hash digest strings.
- LruCache
- A generic fixed-capacity LRU (Least Recently Used) cache.