6 Replies Latest reply on May 19, 2012 8:51 AM by jmfaerman

    How to get the entry value in a Listener?


      I am experimenting with Listeners and noted that when @CacheEntryCreated i don't have access to the entry value, even when pre=false


      My log reads:


      CacheEntryCreated size[0] pre[true] key[0c738668-079f-4f76-b9df-f7b416eb4188]

      CacheEntryCreated size[0] pre[false] key[0c738668-079f-4f76-b9df-f7b416eb4188]


      Is it possible to evaluate the value being put into the cache?


      Also, i could not understand why a single event fires the listener twice (pre=true / pre=false), forcing every listener to check. Why is this so?