Listener examples

WARNING - TOPIC NOT WRITTEN - TOPIC ID: 1525

This topic has not yet been written. The content below is from the topic description.
For example, the following class defines a listener to print out some information every time a new entry is added to the cache:   @Listener public class PrintWhenAdded {     @CacheEntryCreated   public void print(CacheEntryCreatedEvent event) {     System.out.println("New entry " + event.getKey() + " created in the cache");   }   }   For more comprehensive examples, please see the Javadocs for @Listener.