4 Replies Latest reply on Jul 7, 2014 9:45 AM by David Novak

    Get random object from cache

    David Novak Newbie

      Hi,

      I need to get one random object (or key) from my Infinispan cache - does anybody have a hint? Of course, I do not want to retrieve all keys (entries) from the cache (because it would load all keys to memory). I don't mind if the entry (key) will be only from the local Insp node.

      Thanks for anything!

       

      David