[YANGTOOLS-884] Add util.concurrent.FluentFutures Created: 29/May/18 Updated: 30/May/18 Resolved: 30/May/18 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.0.6 |
| Type: | New Feature | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
FluentFuture is very useful for reducing boiler-plate code when composing functions, but unfortunately is not readily available from google.common.util.concurrent.Futures. Furthermore ODL codebase uses Listenable<Void> and Listenable<Boolean>, which have low-cardinality. Providing common constants for these will allow for less allocation/code duplication overhead. |