此内容没有您所选择的语言版本。
7.4. NotifyingFutures
Methods in Red Hat JBoss Data Grid do not return Java Development Kit (JDK)
Futures
, but a sub-interface known as a NotifyingFuture
. Unlike a JDK Future
, a listener can be attached to a NotifyingFuture
to notify the user about a completed future.
Note
NotifyingFutures
are only available in JBoss Data Grid Library mode.
7.4.1. NotifyingFutures Example 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
The following is an example depicting how to use
NotifyingFutures
in Red Hat JBoss Data Grid: