Releases
0.0.1
Compare
Sorry, something went wrong.
No results found
Changelog for KCache Class
Version 0.0.1
Initial Release
Introduced an in-memory cache with basic functionality.
Supported time-to-live (TTL) for cache items, where items older than the TTL are considered expired.
Implemented the Least Recently Used (LRU) eviction policy to manage cache overflow when the maximum size (maxSize) is exceeded.
Allowed both synchronous and asynchronous access to cache items via put/get methods and putAsync/getAsync methods.
Enabled automatic periodic cache cleanup with configurable cleanup interval (cleanupIntervalMillis).
Provided optional logging functionality to track cache operations (e.g., item addition, eviction, removal, and expiration).
Introduced an eviction callback function to notify when items are evicted from the cache.
Added CacheBuilder class for flexible and fluent configuration of cache settings (TTL, max size, cleanup interval, logging, eviction callback).
You can’t perform that action at this time.