-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement
Milestone
Description
Mattias Severson opened SPR-11614 and commented
Create a class SettableListenableFuture that implements ListenableFuture.
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:
- Make ListenableFuture lambda compliant [SPR-11820] #16440 Make ListenableFuture lambda compliant
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement