1 Reply Latest reply on Jul 14, 2012 3:56 AM by Galder Zamarreño

    How many cache 'events' are triggered when using putAll()?

    Guillermo GARCIA OCHOA Newbie

      If I registered a listener like this to a cache:

       

      @Listener

      public class MyListner {

       

       

        @CacheEntryCreated

        public void cacheEntryCreated(CacheEntryCreatedEvent e) {

          System.out.println("New cache entry!...");

        }


      }

       

      How many times the listener's method will be executed?