Cache class

Cache class

Contains cache settings.

The Cache type exposes the following members:

Properties

PropertyDescription
exact_reallocate_onlyGets or sets a value indicating whether reallocation should be exact or not. If reallocation is non exact the performance should be higher.
cache_folderGets or sets the cache folder.
allocated_memory_bytes_countGets the allocated in-memory bytes count.
allocated_disk_bytes_countGets the allocated disk bytes count.
max_memory_for_cacheGets or sets the maximum available memory for cache in memory. The value specified is megabytes count.
max_disk_space_for_cacheGets or sets the maximum available disk space for cache. The value specified is megabytes count.
cache_typeGets or sets the cache scheme used.

Methods

MethodDescription
set_defaultsSets the Cache settings to defaults.

See Also