Cache

Cache class

Contains cache settings.

public static class Cache

Properties

NameDescription
static AllocatedDiskBytesCount { get; }Gets the allocated disk bytes count.
static AllocatedMemoryBytesCount { get; }Gets the allocated in-memory bytes count.
static CacheFolder { get; set; }Gets or sets the cache folder.
static CacheType { get; set; }Gets or sets the cache scheme used.
static ExactReallocateOnly { get; set; }Gets or sets a value indicating whether reallocation should be exact or not. If reallocation is non exact the performance should be higher.
static MaxDiskSpaceForCache { get; set; }Gets or sets the maximum available disk space for cache. The value specified is megabytes count.
static MaxMemoryForCache { get; set; }Gets or sets the maximum available memory for cache in memory. The value specified is megabytes count.

Methods

NameDescription
static SetDefaults()Sets the Cache settings to defaults.

Other Members

NameDescription
static event ReallocatedFires when reallocation was performed

See Also