reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Service (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (REEF-1902) Use external executor and Runnable in MultiAsyncToSync
Date Tue, 24 Oct 2017 01:27:00 GMT

     [ 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)

Mime
View raw message