Class TransientCache
Opaque LRU cache which can be shared between framework instances.
public sealed class TransientCache
- Inheritance
-
TransientCache
- Inherited Members
Remarks
Locking policy: the interface is internal, and consumers are responsible for using it correctly.
Eviction policy: When adding an entry would exceed MaxSize, evict least-recently-used entries until total size drops below CompactionThreshold.
Constructors
TransientCache(CachingOptions)
public TransientCache(CachingOptions options)
Parameters
optionsCachingOptions
Properties
RowCount
public int RowCount { get; }