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