Skip to content

Add ttl eviction policy #62

Open
Open
@erni27

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions