1 type derived from StampedeState
Microsoft.Extensions.Caching.Hybrid (1)
Internal\DefaultHybridCache.StampedeStateT.cs (1)
18internal sealed class StampedeState<TState, T> : StampedeState
8 references to StampedeState
Microsoft.Extensions.Caching.Hybrid (8)
Internal\DefaultHybridCache.Stampede.cs (3)
14private readonly ConcurrentDictionary<StampedeKey, StampedeState> _currentOperations = new(); 77if (@this._currentOperations.TryGetValue(stampedeKey, out StampedeState? found)) 111return _currentOperations.TryGetValue(stampedeKey, out StampedeState? state) ? state.DebugCallerCount : 0;
Internal\DefaultHybridCache.StampedeState.cs (5)
39/// Initializes a new instance of the <see cref="StampedeState"/> class optionally with shared cancellation support. 60/// Initializes a new instance of the <see cref="StampedeState"/> class using a fixed cancellation token. 100private void RemoveStampedeState(StampedeState expected) 107if (_currentOperations.TryGetValue(key, out StampedeState? current) 112_ = _currentOperations.TryRemove(key, out StampedeState? removed);