You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Asynchronous withCache Method: Added withCacheAsync method for asynchronous caching and computation of values when a cache miss occurs. This method supports coroutines and helps offload computation tasks.
Eviction Callback Enhancement: Expanded the eviction callback to include both the key and value being evicted, providing more useful information to developers when items are removed from the cache.
Auto Cleanup Toggle: Introduced a method to enable or disable the automatic cleanup of expired cache items. This allows for more granular control over when cache cleanup should occur.
Debug Callback: Added the option to provide a debug callback for logging cache operations such as put, get, and eviction. This helps developers monitor cache behavior more easily.
Optimized Memory Usage: Improved memory management in the cache to ensure faster access times and reduced memory consumption, especially when handling a large number of keys.
Performance Improvements: Reduced latency for cache lookups and evictions, improving overall performance in multithreaded environments.
Additional Cache Configuration Options: Introduced more granular configuration options in CacheBuilder, including better support for large data sets and tighter memory limits.
API Documentation and Code Comments: Enhanced code documentation and added more detailed comments for each method, making it easier for developers to understand and use the cache library effectively.