CachingDataLoaderOptions
Options & Configuration · AiDotNet.Data.Loaders
Configuration options for caching data loader.
Constructors
| Constructor |
Summary |
CachingDataLoaderOptions() |
|
Properties
| Property |
Summary |
MemoryCacheEvictionPolicy EvictionPolicy { get; set; } |
Cache eviction policy. |
bool EnableDiskCache { get; set; } |
Whether to cache on disk as well (two-level cache). |
int MaxCacheSize { get; set; } |
Maximum number of batches to cache in memory. |
string DiskCacheDirectory { get; set; } |
Directory for disk cache files. |
Methods
| Method |
Summary |
void Validate() |
Validates that all option values are within acceptable ranges. |