Skip to content

Feature request: unconditional expiration of entries based on absolute age (time since load) #141

@oakad

Description

@oakad

Presently, the cache supports "TTL after access" and "TTL after write" expiration policies. In some cases, however, it is handy to expire objects based on their absolute age - essentially "TTL after load" (one usage example of this policy are authenticated network sessions which must expire unconditionally even if client keeps sending data). Considering that this policy is probably easier to implement that the 2 already existing expiration policies, may the Caffeine benefit by providing it as well?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions