1 write to DisconnectedCircuits
Microsoft.AspNetCore.Components.Server (1)
Circuits\CircuitRegistry.cs (1)
56
DisconnectedCircuits
= new MemoryCache(new MemoryCacheOptions
9 references to DisconnectedCircuits
Microsoft.AspNetCore.Components.Server (9)
Circuits\CircuitRegistry.cs (9)
22
/// <see cref="
DisconnectedCircuits
"/> where it sits with an expiration time. We'll mark the associated <see cref="CircuitClientProxy"/> as disconnected
24
/// Once the entry for the host in <see cref="
DisconnectedCircuits
"/> expires, we'll dispose off the host.
28
/// what we did during disconnect - transition the host from <see cref="
DisconnectedCircuits
"/> to <see cref="ConnectedCircuits"/>, and transfer
30
/// <see cref="
DisconnectedCircuits
"/> should ensure we no longer have to concern ourselves with entry expiration.
157
DisconnectedCircuits
.Set(circuitHost.CircuitId.Secret, entry, entryOptions);
240
if (
DisconnectedCircuits
.TryGetValue(circuitId.Secret, out DisconnectedCircuitEntry disconnectedEntry))
248
DisconnectedCircuits
.Remove(circuitId.Secret);
315
if (ConnectedCircuits.TryGetValue(circuitId, out circuitHost) ||
DisconnectedCircuits
.TryGetValue(circuitId.Secret, out entry))
318
DisconnectedCircuits
.Remove(circuitId.Secret);