reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergiy Matusevych (JIRA)" <j...@apache.org>
Subject [jira] [Created] (REEF-1902) Use external executor and Runnable in MultiAsyncToSync
Date Wed, 18 Oct 2017 22:25:01 GMT
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)

Mime
View raw message