9 implementations of RefreshAsync
Microsoft.AspNetCore.Session.Tests (1)
SessionTests.cs (1)
1186public Task RefreshAsync(string key, CancellationToken token = default)
Microsoft.Extensions.AI.Tests (1)
TestInMemoryCacheStorage.cs (1)
29public Task RefreshAsync(string key, CancellationToken token = default)
Microsoft.Extensions.Caching.Hybrid.Tests (4)
L2Tests.cs (1)
237Task IDistributedCache.RefreshAsync(string key, CancellationToken token)
NullDistributedCache.cs (1)
18Task IDistributedCache.RefreshAsync(string key, CancellationToken token) => Task.CompletedTask;
StampedeTests.cs (1)
47Task IDistributedCache.RefreshAsync(string key, CancellationToken token) => throw new NotSupportedException("Intentionally not provided");
UnreliableL2Tests.cs (1)
168public Task RefreshAsync(string key, CancellationToken token = default)
Microsoft.Extensions.Caching.Memory (1)
MemoryDistributedCache.cs (1)
122public Task RefreshAsync(string key, CancellationToken token = default(CancellationToken))
Microsoft.Extensions.Caching.SqlServer (1)
SqlServerCache.cs (1)
135public async Task RefreshAsync(string key, CancellationToken token = default(CancellationToken))
Microsoft.Extensions.Caching.StackExchangeRedis (1)
RedisCache.cs (1)
263public async Task RefreshAsync(string key, CancellationToken token = default)
4 references to RefreshAsync
Microsoft.AspNetCore.Session (1)
DistributedSession.cs (1)
297await _cache.RefreshAsync(_sessionKey, cts.Token);
Microsoft.Extensions.Caching.Hybrid.Tests (1)
UnreliableL2Tests.cs (1)
169=> TrackLast(ThrowIfBrokenAsync(WriteBreak) ?? Tail.RefreshAsync(key, token));
Microsoft.Extensions.Caching.SqlServer.Tests (2)
SqlServerCacheWithDatabaseTest.cs (2)
499await cache.RefreshAsync(key); 616await cache.RefreshAsync(key);