Este contenido no está disponible en el idioma seleccionado.
7.4. Notifications
7.4.1. About Listener Notifications Copiar enlaceEnlace copiado en el portapapeles!
Copiar enlaceEnlace copiado en el portapapeles!
Each cache event triggers a notification that is dispatched to listeners. A listener is a simple POJO annotated with
@Listener
. A Listenable is an interface that denotes that the implementation can have listeners attached to it. Each listener is registered using methods defined in the Listenable.
A listener can be attached to both the cache and Cache Manager to allow them to receive cache-level or cache manager-level notifications.