Create a synchronous SettableListenableFuture implementation [SPR-11614] #16237
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Mattias Severson opened SPR-11614 and commented
Create a class
SettableListenableFuture
that implementsListenableFuture
.When working with
Future
you sometimes need to implement an alternative that gets your result immediately, for example when integrating with legacy, synchronous APIs. If for no other reason, a synchronous implementation makes it much easier to implement tests.Compare with Guava's SettableFuture
Affects: 4.0.2
Issue Links:
Referenced from: commits cf9d519, 0640a32, 38b525a
The text was updated successfully, but these errors were encountered: