[jira] [Created] (FLINK-5851) Renaming AsyncCollector into ResultPromise/ResultFuture

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

[jira] [Created] (FLINK-5851) Renaming AsyncCollector into ResultPromise/ResultFuture

Shang Yuanchun (Jira)
Till Rohrmann created FLINK-5851:
------------------------------------

             Summary: Renaming AsyncCollector into ResultPromise/ResultFuture
                 Key: FLINK-5851
                 URL: https://issues.apache.org/jira/browse/FLINK-5851
             Project: Flink
          Issue Type: Improvement
          Components: DataStream API
    Affects Versions: 1.2.0, 1.3.0
            Reporter: Till Rohrmann
             Fix For: 1.3.0


Currently, the async I/O API gives an {{AsyncCollector}} to an {{AsyncFunction}} implementation. The name does not really reflect what the {{AsyncCollector}} does since it does not collect but is actually a one time completable future. Therefore, I propose to rename the {{AsyncCollector}} into {{ResultPromise}} or {{ResultFuture}}. This is API changing.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)