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.
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