Skip to main content

ConcurrentGdsfCacheConfig

Type Alias ConcurrentGdsfCacheConfig 

Source
pub type ConcurrentGdsfCacheConfig = ConcurrentCacheConfig<GdsfCacheConfig>;
Expand description

Configuration for a concurrent GDSF cache. Type alias for ConcurrentCacheConfig<GdsfCacheConfig>.

Aliased Type§

pub struct ConcurrentGdsfCacheConfig {
    pub base: GdsfCacheConfig,
    pub segments: usize,
}

Fields§

§base: GdsfCacheConfig

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)