Cache Class

Summary: Contains cache settings.

Module: aspose.psd

Full Name: aspose.psd.Cache

Aspose.PSD Version: 24.9.0

Properties

NameTypeAccessDescription
allocated_disk_bytes_count [static]longrGets the allocated disk bytes count.
allocated_memory_bytes_count [static]longrGets the allocated in-memory bytes count.
cache_folder [static]stringr/wGets or sets the cache folder.
cache_type [static]CacheTyper/wGets or sets the cache scheme used.
exact_reallocate_only [static]boolr/wGets or sets a value indicating whether reallocation should be exact or not. If reallocation is non exact the performance should be higher.
max_disk_space_for_cache [static]intr/wGets or sets the maximum available disk space for cache. The value specified is megabytes count.
max_memory_for_cache [static]intr/wGets or sets the maximum available memory for cache in memory. The value specified is megabytes count.

Methods

NameDescription
set_defaults()Sets the Cache settings to defaults.