12 references to Key
Microsoft.Extensions.Caching.Hybrid (12)
Internal\DefaultHybridCache.StampedeState.cs (1)
77public override string ToString() => Key.ToString();
Internal\DefaultHybridCache.StampedeStateT.cs (11)
172var activeFlags = Key.Flags; 176if (!ValidateUnicodeCorrectness(Cache._logger, Key.Key, CacheItem.Tags)) 196result = await Cache.GetFromL2DirectAsync(Key.Key, SharedToken).ConfigureAwait(false); 232var parseResult = HybridCachePayload.TryParse(result.AsArraySegment(), Key.Key, CacheItem.Tags, Cache, out var payload, 373await Cache.SetL2Async(Key.Key, cacheItem, in buffer, _options, SharedToken).ConfigureAwait(false); 428Cache.RemoveStampedeState(in Key); 438Cache.RemoveStampedeState(in Key); 474Debug.Assert((Key.Flags & FlagsDisableL1AndL2Write) == FlagsDisableL1AndL2Write, "Only expected if L1+L2 disabled"); 531if ((Key.Flags & HybridCacheEntryFlags.DisableLocalCacheWrite) == 0) 533Cache.SetL1(Key.Key, value, _options); // we can do this without a TCS, for SetValue 538Cache.RemoveStampedeState(in Key);