Expand description
Prefetch module: pre-loading sequential media segments based on access patterns.
Provides PrefetchStrategy variants and a Prefetcher that warms a
backing cache by predicting which keys will be accessed next.
Structs§
- Memory
Cache - Minimal in-memory
Cacheimplementation backed by aMutex<HashMap>. - Prefetcher
- A prefetcher that warms a
Cachebased on the configuredPrefetchStrategy.
Enums§
- Prefetch
Strategy - Strategy controlling which keys the prefetcher will pre-warm.
Traits§
- Cache
- Minimal read/write interface required by the prefetcher.