ISettingsUnitCache - интерфейс
Пространство имён: Tessa.SettingsUnitsСборка: Tessa (в Tessa.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
public interface ISettingsUnitCache
Public Interface ISettingsUnitCache
public interface class ISettingsUnitCache
type ISettingsUnitCache = interface end
Supports invalidation of single records or the entire cache.
Invalidation triggers global cache events (
SettingsUnits)
so that distributed components or other application nodes can react to changes.
| EnsurePreloadedAsync |
Preloads all registered settings unit records into the cache.
|
| GetAsync |
Retrieves a settings unit record by key.
If missing in the cache, it will be loaded asynchronously and stored for subsequent requests.
|
| InvalidateAsync |
Invalidates cached entries for settings units.
|
| TryGetAsync |
Retrieves a settings unit record by key.
The record will not be loaded if missing in the cache.
|