Este contenido no está disponible en el idioma seleccionado.
Chapter 8. The Notification/Listener API
Red Hat JBoss Data Grid provides a listener API that provides notifications for events as they occur. Clients can choose to register with the listener API for relevant notifications. This annotation-driven API operates on cache-level events and cache manager-level events.
8.1. Listener Example Copiar enlaceEnlace copiado en el portapapeles!
Copiar enlaceEnlace copiado en el portapapeles!
The following example defines a listener in Red Hat JBoss Data Grid that prints some information each time a new entry is added to the cache:
Example 8.1. Configuring a Listener