Interface IFlushCacheAndBroadcastPlugin
Namespace: SuperOffice.Data.Cache
Assembly: SoDataBase.dll
Syntax
public interface IFlushCacheAndBroadcastPlugin
Methods
FlushAndBroadcastAsync(IEnumerable<string>, CancellationToken)
Flushes the caches and broadcast
Declaration
Task FlushAndBroadcastAsync(IEnumerable<string> cacheNames, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<string> | cacheNames | Caches to flush. Input can be technical name of the cache, or it can be the table name from the database and it'll do a lookup to find all the caches that's associated with that table and flush. |
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task |