You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/12/04 17:24:00 UTC
[jira] [Updated] (HDDS-2656) Prefer execute() over submit() if the
returned Future is ignored
[ https://issues.apache.org/jira/browse/HDDS-2656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HDDS-2656:
---------------------------------
Labels: pull-request-available (was: )
> Prefer execute() over submit() if the returned Future is ignored
> ----------------------------------------------------------------
>
> Key: HDDS-2656
> URL: https://issues.apache.org/jira/browse/HDDS-2656
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Reporter: Attila Doroszlai
> Assignee: Attila Doroszlai
> Priority: Minor
> Labels: pull-request-available
>
> {{Future submit(Runnable)}} and {{void execute(Runnable)}} in {{ExecutorService}} have the same result. If the returned {{Future}} is ignored, {{execute}} can be used instead of {{submit}} to avoid creating some objects.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org