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: GdsfCacheConfigBase configuration for the underlying cache algorithm. See individual config docs for sizing guidance.
segments: usizeNumber of segments for sharding (more segments = less contention)