此内容没有您所选择的语言版本。
Chapter 7. 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.
7.1. Listener Example 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
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 7.1. Configuring a Listener