28 instantiations of HybridCacheEntryOptions
Microsoft.AspNetCore.Components.Endpoints (1)
Microsoft.AspNetCore.Components.Server (2)
Microsoft.Extensions.Caching.Abstractions (3)
Microsoft.Extensions.Caching.Hybrid (1)
Microsoft.Extensions.Caching.Hybrid.Tests (21)
66 references to HybridCacheEntryOptions
Microsoft.AspNetCore.Components.Endpoints (2)
Microsoft.AspNetCore.Components.Server (2)
Microsoft.Extensions.Caching.Abstractions (24)
Hybrid\HybridCache.cs (20)
33HybridCacheEntryOptions? options = null, IEnumerable<string>? tags = null, CancellationToken cancellationToken = default);
46HybridCacheEntryOptions? options = null, IEnumerable<string>? tags = null, CancellationToken cancellationToken = default)
63HybridCacheEntryOptions? options = null,
85HybridCacheEntryOptions? options = null,
103HybridCacheEntryOptions? options = null,
125HybridCacheEntryOptions? options = null,
146HybridCacheEntryOptions? options = null, IEnumerable<string>? tags = null, CancellationToken cancellationToken = default)
157HybridCacheEntryOptions innerOptions = options is null
182HybridCacheEntryOptions? writeOptions = context.Revision == 0
198private static readonly HybridCacheEntryOptions s_writesDisabled = new()
203private static HybridCacheEntryOptions CloneWithWritesDisabled(HybridCacheEntryOptions options)
229HybridCacheEntryOptions? options = null, IEnumerable<string>? tags = null, CancellationToken cancellationToken = default)
246HybridCacheEntryOptions? options = null,
267HybridCacheEntryOptions? options = null,
285HybridCacheEntryOptions? options = null,
307HybridCacheEntryOptions? options = null,
333public readonly HybridCacheEntryOptions? Options;
338public DefaultImplState(TState state, Func<TState, HybridCacheEntryContext, CancellationToken, ValueTask<T>> factory, HybridCacheEntryOptions? options)
361public abstract ValueTask SetAsync<T>(string key, T value, HybridCacheEntryOptions? options = null, IEnumerable<string>? tags = null, CancellationToken cancellationToken = default);
Microsoft.Extensions.Caching.Hybrid (25)
Internal\DefaultHybridCache.L2.cs (5)
79internal ValueTask SetL2Async(string key, CacheItem cacheItem, in BufferChunk buffer, HybridCacheEntryOptions? options, CancellationToken token)
179internal void SetL1<T>(string key, CacheItem<T> value, HybridCacheEntryOptions? options, TimeSpan maxRelativeTime)
221private async ValueTask WritePayloadAsync(string key, CacheItem cacheItem, BufferChunk payload, HybridCacheEntryOptions? options, CancellationToken token)
258private DistributedCacheEntryOptions GetL2DistributedCacheOptions(HybridCacheEntryOptions? options)
276extern static DistributedCacheEntryOptions? ToDistributedCacheEntryOptions(HybridCacheEntryOptions options);
Internal\DefaultHybridCache.StampedeStateT.cs (5)
25private HybridCacheEntryOptions? _options;
51public void QueueUserWorkItem(in TState state, Func<TState, CancellationToken, ValueTask<T>> factory, HybridCacheEntryOptions? options)
69public void QueueUserWorkItem(in TState state, Func<TState, HybridCacheEntryContext, CancellationToken, ValueTask<T>> factory, HybridCacheEntryOptions? options)
90public Task ExecuteDirectAsync(in TState state, Func<TState, CancellationToken, ValueTask<T>> factory, HybridCacheEntryOptions? options)
105public Task ExecuteDirectAsync(in TState state, Func<TState, HybridCacheEntryContext, CancellationToken, ValueTask<T>> factory, HybridCacheEntryOptions? options)
Microsoft.Extensions.Caching.Hybrid.Tests (13)