Class LocalResourceCacheOptions
- Namespace
- Acuit.Pinpoint.ResourceManagement
- Assembly
- Acuit.Pinpoint.ResourceManagement.dll
Options for LocalResourceCache.
public class LocalResourceCacheOptions
- Inheritance
-
LocalResourceCacheOptions
- Inherited Members
Properties
FileName
Gets or sets the name of the SQLite database file.
[Required]
public string FileName { get; set; }
Property Value
Remarks
This single database file will contain all cache entries.
PurgeDelayPeriod
Gets or sets the purge delay period.
public TimeSpan PurgeDelayPeriod { get; set; }
Property Value
Remarks
This is the delay before the cache is initally purged after an application startup, as well as the delay period between purges. It also defines the minimum time a cache entry will be retained in the cache after its last reference is released.
When each cache purge occurs, any entries in the cache that have not been referenced within this past time period will be purged.
This must be at least as long as the longest anticipated application startup time and at least as long as the longest anticipated application shutdown time.
The default value is twelve hours.