13 references to DefaultHybridCache
Microsoft.Extensions.Caching.Hybrid (13)
HybridCacheServiceExtensions.cs (1)
41
services.TryAddSingleton<HybridCache,
DefaultHybridCache
>();
Internal\DefaultHybridCache.Debug.cs (2)
53
private
DefaultHybridCache
? _cache; // for buffer-tracking - only needed in DEBUG
58
internal void DebugOnlyTrackBuffer(
DefaultHybridCache
cache)
Internal\DefaultHybridCache.L2.cs (1)
59
static async Task<BufferChunk> AwaitedLegacyAsync(Task<byte[]?> pending,
DefaultHybridCache
@this)
Internal\DefaultHybridCache.Serialization.cs (1)
27
static IHybridCacheSerializer<T> ResolveAndAddSerializer(
DefaultHybridCache
@this)
Internal\DefaultHybridCache.Stampede.cs (1)
72
static bool TryJoinExistingSession(
DefaultHybridCache
@this, in StampedeKey stampedeKey,
Internal\DefaultHybridCache.StampedeState.cs (4)
27
private readonly
DefaultHybridCache
_cache;
40
protected StampedeState(
DefaultHybridCache
cache, in StampedeKey key, CacheItem cacheItem, bool canBeCanceled)
61
protected StampedeState(
DefaultHybridCache
cache, in StampedeKey key, CacheItem cacheItem, CancellationToken token)
73
protected
DefaultHybridCache
Cache => _cache;
Internal\DefaultHybridCache.StampedeStateT.cs (3)
10
using static Microsoft.Extensions.Caching.Hybrid.Internal.
DefaultHybridCache
;
31
public StampedeState(
DefaultHybridCache
cache, in StampedeKey key, bool canBeCanceled)
37
public StampedeState(
DefaultHybridCache
cache, in StampedeKey key, CancellationToken token)