Skip to content

Commit 67a5e1d

Browse files
authored
docs (#243)
1 parent d068021 commit 67a5e1d

File tree

4 files changed

+16
-8
lines changed

4 files changed

+16
-8
lines changed

BitFaster.Caching/Lfu/Builder/AsyncConcurrentLfuBuilder.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ namespace BitFaster.Caching.Lfu.Builder
66
/// </summary>
77
/// <typeparam name="K">The type of the cache key.</typeparam>
88
/// <typeparam name="V">The type of the cache value.</typeparam>
9-
/// <typeparam name="W">The type of the wrapped cache value.</typeparam>
109
public sealed class AsyncConcurrentLfuBuilder<K, V> : LfuBuilderBase<K, V, AsyncConcurrentLfuBuilder<K, V>, IAsyncCache<K, V>>
1110
{
1211
internal AsyncConcurrentLfuBuilder(LfuInfo<K> info)

BitFaster.Caching/Lfu/Builder/AtomicConcurrentLfuBuilder.cs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
1+

42
using BitFaster.Caching.Atomic;
53

64
namespace BitFaster.Caching.Lfu.Builder
75
{
6+
/// <summary>
7+
/// A builder for creating a ConcurrentLfu as IAsyncCache with atomic value creation.
8+
/// </summary>
9+
/// <typeparam name="K">The type of the cache key.</typeparam>
10+
/// <typeparam name="V">The type of the cache value.</typeparam>
811
public class AtomicConcurrentLfuBuilder<K, V> : LfuBuilderBase<K, V, AtomicConcurrentLfuBuilder<K, V>, ICache<K, V>>
912
{
1013
private readonly ConcurrentLfuBuilder<K, AtomicFactory<K, V>> inner;

BitFaster.Caching/Lfu/Builder/AtomicScopedAsyncConcurrentLfuBuilder.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
42
using BitFaster.Caching.Atomic;
53

64
namespace BitFaster.Caching.Lfu.Builder
75
{
6+
/// <summary>
7+
/// A builder for creating a ConcurrentLfu as IScopedAsyncCache with atomic value creation.
8+
/// </summary>
9+
/// <typeparam name="K">The type of the cache key.</typeparam>
10+
/// <typeparam name="V">The type of the cache value.</typeparam>
811
public sealed class AtomicScopedAsyncConcurrentLfuBuilder<K, V> : LfuBuilderBase<K, V, AtomicScopedAsyncConcurrentLfuBuilder<K, V>, IScopedAsyncCache<K, V>> where V : IDisposable
912
{
1013
private readonly AsyncConcurrentLfuBuilder<K, ScopedAsyncAtomicFactory<K, V>> inner;

BitFaster.Caching/Lfu/Builder/ScopedAsyncConcurrentLfuBuilder.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
42

53
namespace BitFaster.Caching.Lfu.Builder
64
{
5+
/// <summary>
6+
/// A builder for creating a ConcurrentLfu as IScopedAsyncCache.
7+
/// </summary>
8+
/// <typeparam name="K">The type of the cache key.</typeparam>
9+
/// <typeparam name="V">The type of the cache value.</typeparam>
710
public sealed class ScopedAsyncConcurrentLfuBuilder<K, V> : LfuBuilderBase<K, V, ScopedAsyncConcurrentLfuBuilder<K, V>, IScopedAsyncCache<K, V>> where V : IDisposable
811
{
912
private readonly AsyncConcurrentLfuBuilder<K, Scoped<V>> inner;

0 commit comments

Comments
 (0)