Skip to content

Adding some utility functions to cache:#55

Open
EVODelavega wants to merge 1 commit intopatrickmn:masterfrom
EVODelavega:get-touch
Open

Adding some utility functions to cache:#55
EVODelavega wants to merge 1 commit intopatrickmn:masterfrom
EVODelavega:get-touch

Conversation

@EVODelavega
Copy link
Copy Markdown

  • GetRefresh: Get item from cache, update TTL. This allows users to store resources in cache and have them automatically removed if they haven't been used for X amount of time
  • GetRefreshDefault: Same as GetRefresh with default duration (=~ SetDefault)
  • Pop: Get elements from cache, and remove them

TODO (and soon to follow)

A couple of tests covering these 3 functions

* GetRefresh: Get item from cache, update TTL. This allows users to store resources in cache and have them automatically removed if they haven't been used for X amount of time
* GetRefreshDefault: Same as GetRefresh with default duration (=~ SetDefault)
* Pop: Get elements from cache, and remove them
arp242 pushed a commit to arp242/zcache that referenced this pull request Jul 30, 2020
Repository owner deleted a comment from pablodz Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant