flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ufuk Celebi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-3258) Merge AbstractInvokable's registerInputOutput and invoke
Date Tue, 19 Jan 2016 11:32:39 GMT
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

View raw message