此内容没有您所选择的语言版本。
15.4. Notifications
15.4.1. About Listener Notifications 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
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.