[jira] [Created] (FLINK-14199) Only use dedicated/named classes for mailbox letters.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-14199) Only use dedicated/named classes for mailbox letters.

Shang Yuanchun (Jira)
Arvid Heise created FLINK-14199:
-----------------------------------

             Summary: Only use dedicated/named classes for mailbox letters.
                 Key: FLINK-14199
                 URL: https://issues.apache.org/jira/browse/FLINK-14199
             Project: Flink
          Issue Type: Improvement
            Reporter: Arvid Heise
         Attachments: Screenshot 2019-08-22 at 12.59.59.png

Unnamed lambdas make it difficult to debug the code

 !Screenshot 2019-08-22 at 12.59.59.png!

Note: there are cases of the mailbox usage that need a Future to track when a letter is executed and get success/exception result. Current implementation (in MailboxExecutor) piggybacks on java.util.concurrent.FutureTask and the fact that it implements Java Executor api.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)