pub type ConcurrentLfuCacheConfig = ConcurrentCacheConfig<LfuCacheConfig>;Expand description
Configuration for a concurrent LFU cache.
Type alias for ConcurrentCacheConfig<LfuCacheConfig>.
Aliased Type§
pub struct ConcurrentLfuCacheConfig {
pub base: LfuCacheConfig,
pub segments: usize,
}Fields§
§base: LfuCacheConfigBase configuration for the underlying cache algorithm. See individual config docs for sizing guidance.
segments: usizeNumber of segments for sharding (more segments = less contention)