1 instantiation of ActiveHandlerTrackingEntry
Microsoft.Extensions.Http (1)
DefaultHttpClientFactory.cs (1)
168return new ActiveHandlerTrackingEntry(name, handler, scope, options.HandlerLifetime);
12 references to ActiveHandlerTrackingEntry
Microsoft.Extensions.Http (12)
ActiveHandlerTrackingEntry.cs (1)
16private static readonly TimerCallback _timerCallback = (s) => ((ActiveHandlerTrackingEntry)s!).Timer_Tick();
DefaultHttpClientFactory.cs (10)
26private readonly Func<string, Lazy<ActiveHandlerTrackingEntry>> _entryFactory; 51internal readonly ConcurrentDictionary<string, Lazy<ActiveHandlerTrackingEntry>> _activeHandlers; 79_activeHandlers = new ConcurrentDictionary<string, Lazy<ActiveHandlerTrackingEntry>>(StringComparer.Ordinal); 82return new Lazy<ActiveHandlerTrackingEntry>(() => 123ActiveHandlerTrackingEntry entry = _activeHandlers.GetOrAdd(name, _entryFactory).Value; 131internal ActiveHandlerTrackingEntry CreateHandlerEntry(string name) 195var active = (ActiveHandlerTrackingEntry)state!; 199bool removed = _activeHandlers.TryRemove(active.Name, out Lazy<ActiveHandlerTrackingEntry>? found); 218internal virtual void StartHandlerEntryTimer(ActiveHandlerTrackingEntry entry)
ExpiredHandlerTrackingEntry.cs (1)
17public ExpiredHandlerTrackingEntry(ActiveHandlerTrackingEntry other)