MemoryDistributedCacheOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies options for MemoryDistributedCacheOptions.
public ref class MemoryDistributedCacheOptions : Microsoft::Extensions::Caching::Memory::MemoryCacheOptions
public class MemoryDistributedCacheOptions : Microsoft.Extensions.Caching.Memory.MemoryCacheOptions
type MemoryDistributedCacheOptions = class
inherit MemoryCacheOptions
Public Class MemoryDistributedCacheOptions
Inherits MemoryCacheOptions
- Inheritance
Constructors
MemoryDistributedCacheOptions() |
Initializes a new instance of MemoryDistributedCacheOptions. |
Properties
Clock |
Gets or sets the clock used by the cache for expiration. (Inherited from MemoryCacheOptions) |
CompactionPercentage |
Gets or sets the amount the cache is compacted by when the maximum size is exceeded. (Inherited from MemoryCacheOptions) |
CompactOnMemoryPressure |
Obsolete.
Gets or sets a value that indicates whether the cache is compacted when the maximum size is exceeded. (Inherited from MemoryCacheOptions) |
ExpirationScanFrequency |
Gets or sets the minimum length of time between successive scans for expired items. (Inherited from MemoryCacheOptions) |
SizeLimit |
Gets or sets the maximum size of the cache. (Inherited from MemoryCacheOptions) |
TrackLinkedCacheEntries |
Gets or sets a value that indicates whether linked entries are tracked. (Inherited from MemoryCacheOptions) |
TrackStatistics |
Gets or sets a value that indicates whether memory cache statistics are tracked. (Inherited from MemoryCacheOptions) |
Explicit Interface Implementations
IOptions<MemoryCacheOptions>.Value |
Gets the default configured |