Skip to content
Merged

docs #243

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
1 change: 0 additions & 1 deletion BitFaster.Caching/Lfu/Builder/AsyncConcurrentLfuBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ namespace BitFaster.Caching.Lfu.Builder
/// </summary>
/// <typeparam name="K">The type of the cache key.</typeparam>
/// <typeparam name="V">The type of the cache value.</typeparam>
/// <typeparam name="W">The type of the wrapped cache value.</typeparam>
public sealed class AsyncConcurrentLfuBuilder<K, V> : LfuBuilderBase<K, V, AsyncConcurrentLfuBuilder<K, V>, IAsyncCache<K, V>>
{
internal AsyncConcurrentLfuBuilder(LfuInfo<K> info)
Expand Down
9 changes: 6 additions & 3 deletions BitFaster.Caching/Lfu/Builder/AtomicConcurrentLfuBuilder.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
using System;
using System.Collections.Generic;
using System.Text;

using BitFaster.Caching.Atomic;

namespace BitFaster.Caching.Lfu.Builder
{
/// <summary>
/// A builder for creating a ConcurrentLfu as IAsyncCache with atomic value creation.
/// </summary>
/// <typeparam name="K">The type of the cache key.</typeparam>
/// <typeparam name="V">The type of the cache value.</typeparam>
public class AtomicConcurrentLfuBuilder<K, V> : LfuBuilderBase<K, V, AtomicConcurrentLfuBuilder<K, V>, ICache<K, V>>
{
private readonly ConcurrentLfuBuilder<K, AtomicFactory<K, V>> inner;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
using System;
using System.Collections.Generic;
using System.Text;
using BitFaster.Caching.Atomic;

namespace BitFaster.Caching.Lfu.Builder
{
/// <summary>
/// A builder for creating a ConcurrentLfu as IScopedAsyncCache with atomic value creation.
/// </summary>
/// <typeparam name="K">The type of the cache key.</typeparam>
/// <typeparam name="V">The type of the cache value.</typeparam>
public sealed class AtomicScopedAsyncConcurrentLfuBuilder<K, V> : LfuBuilderBase<K, V, AtomicScopedAsyncConcurrentLfuBuilder<K, V>, IScopedAsyncCache<K, V>> where V : IDisposable
{
private readonly AsyncConcurrentLfuBuilder<K, ScopedAsyncAtomicFactory<K, V>> inner;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace BitFaster.Caching.Lfu.Builder
{
/// <summary>
/// A builder for creating a ConcurrentLfu as IScopedAsyncCache.
/// </summary>
/// <typeparam name="K">The type of the cache key.</typeparam>
/// <typeparam name="V">The type of the cache value.</typeparam>
public sealed class ScopedAsyncConcurrentLfuBuilder<K, V> : LfuBuilderBase<K, V, ScopedAsyncConcurrentLfuBuilder<K, V>, IScopedAsyncCache<K, V>> where V : IDisposable
{
private readonly AsyncConcurrentLfuBuilder<K, Scoped<V>> inner;
Expand Down