From 7efb5502fac15a6def2d5956071b1015bb246c7d Mon Sep 17 00:00:00 2001 From: Alex Peck Date: Sat, 10 Sep 2022 18:49:51 -0700 Subject: [PATCH] docs --- BitFaster.Caching/Lfu/ConcurrentLfuBuilder.cs | 15 +++++++----- BitFaster.Caching/Lru/ConcurrentLruBuilder.cs | 24 +++++++++---------- 2 files changed, 21 insertions(+), 18 deletions(-) diff --git a/BitFaster.Caching/Lfu/ConcurrentLfuBuilder.cs b/BitFaster.Caching/Lfu/ConcurrentLfuBuilder.cs index 022837b7..f70c82a6 100644 --- a/BitFaster.Caching/Lfu/ConcurrentLfuBuilder.cs +++ b/BitFaster.Caching/Lfu/ConcurrentLfuBuilder.cs @@ -6,13 +6,16 @@ namespace BitFaster.Caching.Lfu /// /// A builder of ICache and IScopedCache instances with the following configuration /// settings: - /// - The maximum size. - /// - The concurrency level. - /// - The key comparer. - /// - The buffer sizes. - /// + /// + /// The maximum size. + /// The concurrency level. + /// The key comparer. + /// /// The following features can be selected which change the underlying cache implementation: - /// - Scoped IDisposable values. + /// + /// Scoped IDisposable values. + /// Atomic value factory. + /// /// /// The type of keys in the cache. /// The type of values in the cache. diff --git a/BitFaster.Caching/Lru/ConcurrentLruBuilder.cs b/BitFaster.Caching/Lru/ConcurrentLruBuilder.cs index 57381fd1..24df27ce 100644 --- a/BitFaster.Caching/Lru/ConcurrentLruBuilder.cs +++ b/BitFaster.Caching/Lru/ConcurrentLruBuilder.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; + using BitFaster.Caching.Lru.Builder; namespace BitFaster.Caching.Lru @@ -10,14 +6,18 @@ namespace BitFaster.Caching.Lru /// /// A builder of ICache and IScopedCache instances with the following configuration /// settings: - /// - The maximum size. - /// - The concurrency level. - /// - The key comparer. - /// + /// + /// The maximum size. + /// The concurrency level. + /// The key comparer. + /// /// The following features can be selected which change the underlying cache implementation: - /// - Collect metrics (e.g. hit rate). Small perf penalty. - /// - Time based expiration, measured since write. - /// - Scoped IDisposable values. + /// + /// Collect metrics (e.g. hit rate). Small perf penalty. + /// Time based expiration, measured since write. + /// Scoped IDisposable values. + /// Atomic value factory. + /// /// /// The type of keys in the cache. /// The type of values in the cache.