DiskCacheOptions
Options & Configuration · AiDotNet.Data.Pipeline
Configuration options for disk-based pipeline caching.
For Beginners
These settings control where processed data is saved and how much disk space it can use. Once data is cached, subsequent training epochs can skip expensive preprocessing.
How It Works
Controls how pipeline snapshots are stored on disk, including cache location, size limits, and eviction policies.
Constructors
| Constructor | Summary |
|---|---|
DiskCacheOptions() |
Properties
| Property | Summary |
|---|---|
CacheEvictionPolicy EvictionPolicy { get; set; } |
Gets or sets the eviction policy when cache is full. |
TimeSpan? MaxAge { get; set; } |
Gets or sets the maximum age of cache entries before they are considered stale. |
bool AutoInvalidateOnSourceChange { get; set; } |
Gets or sets whether to automatically invalidate the cache when source data changes. |
bool CompressData { get; set; } |
Gets or sets whether to compress cached data. |
bool VerifyIntegrity { get; set; } |
Gets or sets whether to verify cache integrity on load using checksums. |
long MaxCacheSizeBytes { get; set; } |
Gets or sets the maximum total cache size in bytes. |
string CacheDirectory { get; set; } |
Gets or sets the directory where cache files are stored. |