imcache icon indicating copy to clipboard operation
imcache copied to clipboard

Add ttl eviction policy

Open erni27 opened this issue 1 year ago • 0 comments

Although imcache supports entry ttl, it doesn't support policy evicting the entries by their expiration (ttl) timestamp (currently supported policies: lru, lfu and rand).

Add the new eviction policy EvictionPolicyTTL. The binary heap could be used as the backing data structure.

erni27 avatar Feb 24 '24 08:02 erni27