9 references to Key
Microsoft.Extensions.Caching.Hybrid (9)
Internal\DefaultHybridCache.StampedeState.cs (2)
78public override string ToString() => Key.ToString(); 102ref readonly StampedeKey key = ref expected.Key;
Internal\DefaultHybridCache.StampedeStateT.cs (7)
209HybridCacheEntryFlags activeFlags = Key.Flags; 220if (!ValidateUnicodeCorrectness(Cache._logger, Key.Key, CacheItem.Tags)) 243result = await Cache.GetFromL2DirectAsync(Key.Key, SharedToken).ConfigureAwait(false); 280result.AsArraySegment(), Key.Key, CacheItem.Tags, Cache, out HybridCachePayload.ParsedPayload parsed, out Exception? fault); 447await Cache.SetL2Async(Key.Key, cacheItem, in buffer, _options, SharedToken).ConfigureAwait(false); 567SetResult(cacheItem, Key.Flags, remainingTime); 649Cache.SetL1(Key.Key, value, _options, maxRelativeTime); // we can do this without a TCS, for SetValue