Skip to content

Get all keys for ICache implementation #435

@IonRobu

Description

@IonRobu

Hi,

It will be useful to return all keys stored in caching mechanism. For example, to list them in a screen and having Forget, refresh etc. commands.
I have for now a list which manages entries in the cache, but this is redundant and may lead to inconsistencies and extra checks all the time. A function GetAllKeys will be very useful.
UPDATE
I get the list of the keys via reflection, but, of course, is just a hack. A proper public method, eventually returning more info, such as expiration date/time, is expired etc. is more than welcome.

Thanks,
Ion

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