You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have you tried Ristretto before this proposal? and did not find anything similar?
Yes
What you wanted to do.
I want to know the value of the actual key in onEvict hook. However, after storing a key-value pair in ristretto cache, the onEvict method only returns the key's hash, and not its actual value.
Moreover, I do know I can provide my own hash algorithm, but I want to keep using ristretto's default hashing algorithm. Unfortunately, the Hash algorithm isn't a public method, so I can't use that.
What you actually did.
No response
Why wasn't it great, with examples.
No response
Additional information.
No response
The text was updated successfully, but these errors were encountered:
Have you tried Ristretto before this proposal? and did not find anything similar?
Yes
What you wanted to do.
I want to know the value of the actual key in onEvict hook. However, after storing a key-value pair in ristretto cache, the onEvict method only returns the key's hash, and not its actual value.
Moreover, I do know I can provide my own hash algorithm, but I want to keep using ristretto's default hashing algorithm. Unfortunately, the Hash algorithm isn't a public method, so I can't use that.
What you actually did.
No response
Why wasn't it great, with examples.
No response
Additional information.
No response
The text was updated successfully, but these errors were encountered: