此内容没有您所选择的语言版本。
Chapter 3. Application Changes
3.1. NotifyingFuture replaced by CompletableFuture 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
The
NotifyingFuture
interface has been removed in JBoss Data Grid 7.0 and replaced with CompletableFuture
. This class was replaced due to CompletableFuture
being included as a standard class in Java 8, allowing for additional features such as chaining, implementing constructs such as conditionals, and timeouts to be utilized without introducing additional custom code.
Due to this change any applications utilizing
NotifyingFuture
will need to be replaced with CompletableFuture
to function correctly with JBoss Data Grid 7.0.