Skip to content

Add a method to get all Items in a thread safe manner.#40

Open
hikhvar wants to merge 3 commits intopatrickmn:masterfrom
exaring:master
Open

Add a method to get all Items in a thread safe manner.#40
hikhvar wants to merge 3 commits intopatrickmn:masterfrom
exaring:master

Conversation

@hikhvar
Copy link
Copy Markdown

@hikhvar hikhvar commented Aug 31, 2016

As discussed in Issue #36 I needed a way to get all not expired items. This PR add such a method. Test and Benchmarks are included. Feel free to make any suggestions.

@totallyunknown
Copy link
Copy Markdown

Any chance to get this included?

@patrickmn
Copy link
Copy Markdown
Owner

Thank you for this. I modified Items() to return a new map with unexpired items a2d8b56

Would you be willing to change this PR to add your test against Items() and adding yourself to CONTRIBUTORS?

@hikhvar
Copy link
Copy Markdown
Author

hikhvar commented Nov 28, 2016

Hey, I updated the pull request.

@pablodz
Copy link
Copy Markdown

pablodz commented Jan 3, 2024

Found this fork: https://github.com/arp242/zcache

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.

4 participants