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