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