-
Notifications
You must be signed in to change notification settings - Fork 502
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onEvict callback for ARC #22
Comments
+1 here |
Also +1 and if that possible onEvict for TwoQueueCache |
any news from devs? or package is drop down and not needed for hashicorp? |
I had a need for this same functionality and added support to it in https://github.com/bluele/gcache , FYI. |
Thanks, i'm switch package =) |
@sean- could have added it here instead :-) |
Heh. I started with this LRU implementation and moved to the other because it had some of the primitives I immediately needed. https://github.com/joyent/pg_prefaulter/blob/master/agent/fhcache/cache.go#L61-L95 |
I've added a draft PR for the evict functionality. #48 Feedback is welcome. |
Hi, I would like to say thanks for this project guys.
Is there any plans to add onEvict callback to ARC cache too? Actually, it's pretty useful when you work with sync.Pool as well.
The text was updated successfully, but these errors were encountered: