Skip to main content

ConcurrentLfudaCacheConfig

Type Alias ConcurrentLfudaCacheConfig 

Source
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: LfudaCacheConfig

Base configuration for the underlying cache algorithm. See individual config docs for sizing guidance.

§segments: usize

Number of segments for sharding (more segments = less contention)