6 references to Key
Microsoft.Extensions.Caching.Hybrid (6)
Internal\DefaultHybridCache.Stampede.cs (1)
81ThrowWrongType(stampedeKey.Key, found.Type, typeof(T));
Internal\DefaultHybridCache.StampedeStateT.cs (5)
176if (!ValidateUnicodeCorrectness(Cache._logger, Key.Key, CacheItem.Tags)) 196result = await Cache.GetFromL2DirectAsync(Key.Key, SharedToken).ConfigureAwait(false); 233result.AsArraySegment(), Key.Key, CacheItem.Tags, Cache, out ArraySegment<byte> payload, out TimeSpan remainingTime, 374await Cache.SetL2Async(Key.Key, cacheItem, in buffer, _options, SharedToken).ConfigureAwait(false); 536Cache.SetL1(Key.Key, value, _options, maxRelativeTime); // we can do this without a TCS, for SetValue