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