[ 
https://issues.apache.org/jira/browse/FLINK-3258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15119243#comment-15119243
 ] 

ASF GitHub Bot commented on FLINK-3258:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/flink/pull/1538


> 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