6 Replies Latest reply: May 19, 2012 8:51 AM by Julio Faerman RSS

    How to get the entry value in a Listener?

    Julio Faerman Novice

      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?