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)

Reply via email to