You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Sergiy Matusevych (JIRA)" <ji...@apache.org> on 2017/10/18 22:25:01 UTC
[jira] [Created] (REEF-1902) Use external executor and Runnable in
MultiAsyncToSync
Sergiy Matusevych created REEF-1902:
---------------------------------------
Summary: Use external executor and Runnable in MultiAsyncToSync
Key: REEF-1902
URL: https://issues.apache.org/jira/browse/REEF-1902
Project: REEF
Issue Type: Improvement
Components: Wake
Reporter: Sergiy Matusevych
Assignee: Sergiy Matusevych
Priority: Minor
{{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)