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