You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Doug Service (JIRA)" <ji...@apache.org> on 2017/10/24 01:27:00 UTC
[jira] [Resolved] (REEF-1902) Use external executor and Runnable in
MultiAsyncToSync
[ https://issues.apache.org/jira/browse/REEF-1902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doug Service resolved REEF-1902.
--------------------------------
Resolution: Fixed
Fix Version/s: 0.17
Resolved by https://github.com/apache/reef/pull/1391
> Use external executor and Runnable in MultiAsyncToSync
> ------------------------------------------------------
>
> Key: REEF-1902
> URL: https://issues.apache.org/jira/browse/REEF-1902
> Project: REEF
> Issue Type: Sub-task
> Components: Wake
> Reporter: Sergiy Matusevych
> Assignee: Sergiy Matusevych
> Priority: Minor
> Labels: asynchronous, tests, wake
> Fix For: 0.17
>
> Original Estimate: 24h
> Time Spent: 48h
> Remaining Estimate: 1h
>
> {{MultiAsyncToSync}} class takes a {{FutureTask<>}} as input, but only calls its {{.run()}} method. That is, we can simplify the interface and make it accept {{Runnable}}. This change is packward-compatible, as {{FutureTask}} implements {{Runnable}}. We should also allow {{MultiAsyncToSync}} to run tasks indirectly using the executor service, and update the unit tests accordingly.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)