CacheHelperCacheAsync Method |
Name | Description | |
---|---|---|
CacheAsyncTData(FuncTaskTData, 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 loadMethodAsync execution, the exception is distributed as well. No data are cached in such a case.
| |
CacheAsyncTData(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 loadMethodAsync execution, the exception is distributed as well. No data are cached in such a case.
| |
CacheAsyncTData(FuncCancellationToken, 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 loadMethodAsync execution, the exception is distributed as well. No data are cached in such a case.
| |
CacheAsyncTData(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 loadMethodAsync execution, the exception is distributed as well. No data are cached in such a case.
|