Skip to main content

CachingConfig

This class defines configuration parameters for an in-memory cache used by a Blob store. It allows setting the maximum size of the cache in megabytes and configuring the garbage collection target percentage for memory management.

Attributes

AttributeTypeDescription
MaxSizeMegabytesintMaximum size of the cache where the Blob store data is cached in-memory. If not specified or set to 0, cache is not used.
TargetGCPercentintSets the garbage collection target percentage: a collection is triggered when the ratio of freshly allocated data to live data remaining after the previous collection reaches this percentage. If not specified or set to 0, GC percent is not tweaked.