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?
Assuming that the entries are not stored, 2 x number of keys put (with event.isPre=true/false)