Skip to content
Merged

docs #257

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions BitFaster.Caching/Lfu/ConcurrentLfuBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,16 @@ namespace BitFaster.Caching.Lfu
/// <summary>
/// A builder of ICache and IScopedCache instances with the following configuration
/// settings:
/// - The maximum size.
/// - The concurrency level.
/// - The key comparer.
/// - The buffer sizes.
///
/// <list type="bullet">
/// <item><description>The maximum size.</description></item>
/// <item><description>The concurrency level.</description></item>
/// <item><description>The key comparer.</description></item>
/// </list>
/// The following features can be selected which change the underlying cache implementation:
/// - Scoped IDisposable values.
/// <list type="bullet">
/// <item><description>Scoped IDisposable values.</description></item>
/// <item><description>Atomic value factory.</description></item>
/// </list>
/// </summary>
/// <typeparam name="K">The type of keys in the cache.</typeparam>
/// <typeparam name="V">The type of values in the cache.</typeparam>
Expand Down
24 changes: 12 additions & 12 deletions BitFaster.Caching/Lru/ConcurrentLruBuilder.cs
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
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
{
/// <summary>
/// A builder of ICache and IScopedCache instances with the following configuration
/// settings:
/// - The maximum size.
/// - The concurrency level.
/// - The key comparer.
///
/// <list type="bullet">
/// <item><description>The maximum size.</description></item>
/// <item><description>The concurrency level.</description></item>
/// <item><description>The key comparer.</description></item>
/// </list>
/// 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.
/// <list type="bullet">
/// <item><description>Collect metrics (e.g. hit rate). Small perf penalty.</description></item>
/// <item><description>Time based expiration, measured since write.</description></item>
/// <item><description>Scoped IDisposable values.</description></item>
/// <item><description>Atomic value factory.</description></item>
/// </list>
/// </summary>
/// <typeparam name="K">The type of keys in the cache.</typeparam>
/// <typeparam name="V">The type of values in the cache.</typeparam>
Expand Down