[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 ] Anu Engineer updated HDDS-2656: --- Fix Version/s: 0.5.0 Resolution: Fixed Status: Resolved (was: Patch Available) Thank you for the contribution. I have committed this patch to the master branch. > 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 > Fix For: 0.5.0 > > Time Spent: 20m > Remaining Estimate: 0h > > {{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-unsubscr...@hadoop.apache.org For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org
[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 ] Attila Doroszlai updated HDDS-2656: --- Status: Patch Available (was: In Progress) > 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 > Time Spent: 10m > Remaining Estimate: 0h > > {{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-unsubscr...@hadoop.apache.org For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org
[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-unsubscr...@hadoop.apache.org For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org