[jira] [Created] (FLINK-3258) Merge AbstractInvokable's registerInputOutput and invoke

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

[jira] [Created] (FLINK-3258) Merge AbstractInvokable's registerInputOutput and invoke

Shang Yuanchun (Jira)
Ufuk Celebi created FLINK-3258:
----------------------------------

             Summary: Merge AbstractInvokable's registerInputOutput and invoke
                 Key: FLINK-3258
                 URL: https://issues.apache.org/jira/browse/FLINK-3258
             Project: Flink
          Issue Type: Improvement
            Reporter: Ufuk Celebi
            Assignee: Ufuk Celebi
             Fix For: 1.0.0


The separation between {{registerInputOutput}} and {{invoke}} in {{AbstractInvokable}} is an artifact of previous Flink versions. The {{registerInputOutput}} method used to trigger the creation of input and output gates. This has become obsolete as the task itself takes care of this now and {{registerInputOutput}} only requests the input/output gates.

The contract of having a single {{invoke}} method, which cleans up after itself is easier to implement than applying it to two methods.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)