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