I would like to know if there is any way to . I would need to get the metadata of each element, having access to details, such as the hit count - the number of times the entry was requested while it was in the cache.
It would be really really great if we can ask the cache for "the top X elements" and it returns a list of elements (K+V), ordered by the "ranking" used by the eviction algorithm.
Is it possible to implement something like this with Infinispan? In that case, what is the right direction to take?