1 type derived from StampedeState
Microsoft.Extensions.Caching.Hybrid (1)
Internal\DefaultHybridCache.StampedeStateT.cs (1)
16
internal sealed class StampedeState<TState, T> :
StampedeState
6 references to StampedeState
Microsoft.Extensions.Caching.Hybrid (6)
Internal\DefaultHybridCache.Stampede.cs (3)
13
private readonly ConcurrentDictionary<StampedeKey,
StampedeState
> _currentOperations = new();
75
if (@this._currentOperations.TryGetValue(stampedeKey, out
var
found))
109
return _currentOperations.TryGetValue(stampedeKey, out
var
state) ? state.DebugCallerCount : 0;
Internal\DefaultHybridCache.StampedeState.cs (3)
38
/// Initializes a new instance of the <see cref="
StampedeState
"/> class optionally with shared cancellation support.
59
/// Initializes a new instance of the <see cref="
StampedeState
"/> class using a fixed cancellation token.
70
protected static readonly WaitCallback SharedWaitCallback = static obj => Unsafe.As<
StampedeState
>(obj).Execute();