3 Replies Latest reply on Jan 5, 2012 4:52 AM by Galder Zamarreño

    removAll cache listener support when cache.clear() is invoked?

    Amal Raj Vinoth James Newbie

      Hi All,


      Is it possible to notify only once when cache.clear() is called, instead of notifying for removal of each cache entry?

      For example: if a cache has 10 cache entries, calling cache.clear() should not call 10 cacheEntryRemovedEvent. Instead, there should be only one notification for clearing the entire cache.


      Please give your ideas and views regarding the same.


      Thanks, Amal Raj.