IProgressiveCache Methods |
The IProgressiveCache type exposes the following members.
Name | Description | |
---|---|---|
LoadTData |
Loads data. If multiple threads are loading the same data, only one thread executes the load, stores the result into cache and the result is distributed to other waiting threads.
If an exception is thrown during loadDataFunc execution, the exception is distributed as well. No data are cached in such a case.
| |
LoadAsyncTData(FuncCacheSettings, TaskTData, CacheSettings) |
Asynchronously loads data. If multiple threads are loading the same data, only one thread executes the load, stores the result into cache and the result is distributed to other waiting threads.
If an exception is thrown during loadDataFuncAsync execution, the exception is distributed as well. No data are cached in such a case.
| |
LoadAsyncTData(FuncCacheSettings, CancellationToken, TaskTData, CacheSettings, CancellationToken) |
Asynchronously loads data. If multiple threads are loading the same data, only one thread executes the load, stores the result into cache and the result is distributed to other waiting threads.
If an exception is thrown during loadDataFuncAsync execution, the exception is distributed as well. No data are cached in such a case.
|