You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ehcache-users
Hello
We considered to use the EvictionAdvisor to keep certain elements in cache if possible.
But my understanding after investigating the implementation is that the Eviction-Advice is evaluated upon adding or updating an element to the cache and not during the eviction. Is there a way to evaluate the advice upon eviction?
Beside the possibly better response time when not evaluating during adds, and the wasted effort if the cache doesnt fill up or is managed by manually removing obsolete elements, we'd have the requirement to re-evaluate for every eviction attempt.
Is there a specific reason to evaluate the advice early, or could this be changed/added to evaluate upon eviction?