Table of Contents

Class ReminderUpdateCache

Namespace
The.Web.Search
Assembly
Instagile.Web.Client.dll

Per-store-instance cache of general reminder counts. Misses are evaluated as the system, in the host's configured timezone, so entries are identical for every caller; callers are responsible for checking that a requester may read an entry before returning it.

public sealed class ReminderUpdateCache
Inheritance
ReminderUpdateCache
Inherited Members

Constructors

ReminderUpdateCache(IOptions<ReminderUpdateOptions>, IServiceScopeFactory, ILogger<ReminderUpdateCache>)

public ReminderUpdateCache(IOptions<ReminderUpdateOptions> options, IServiceScopeFactory scopeFactory, ILogger<ReminderUpdateCache> logger)

Parameters

options IOptions<ReminderUpdateOptions>
scopeFactory IServiceScopeFactory
logger ILogger<ReminderUpdateCache>

Methods

UpdateGeneralRemindersAsync(IReminderStore, IReadOnlyList<IReminder>, CancellationToken)

public Task<IEnumerable<ReminderUpdate>> UpdateGeneralRemindersAsync(IReminderStore store, IReadOnlyList<IReminder> reminders, CancellationToken cancellationToken)

Parameters

store IReminderStore
reminders IReadOnlyList<IReminder>
cancellationToken CancellationToken

Returns

Task<IEnumerable<ReminderUpdate>>