v.21.3Improvement

Updated Cache Dictionaries to Use LRUHashMap as Index

Updated CacheDictionary, ComplexCacheDictionary, SSDCacheDictionary, SSDComplexKeyDictionary to use LRUHashMap as underlying index. #20164 (Maksim Kita).
Updated CacheDictionary, ComplexCacheDictionary, SSDCacheDictionary, and SSDComplexKeyDictionary to use LRUHashMap as the underlying index.

Why it matters

This change improves the efficiency and performance of dictionary cache lookups by leveraging the LRUHashMap data structure, which provides better management of cache entries with least-recently-used eviction. It enhances resource utilization and lookup speed, benefiting users with faster dictionary queries and optimized memory use.

How to use it

Users do not need to make any changes to their existing configuration to benefit from this update, as CacheDictionary, ComplexCacheDictionary, SSDCacheDictionary, and SSDComplexKeyDictionary internally use LRUHashMap by default after this update.