You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Aljoscha Krettek (JIRA)" <ji...@apache.org> on 2016/08/26 09:10:21 UTC
[jira] [Commented] (FLINK-4494) Expose the TimeServiceProvider from
the Task to each Operator.
[ https://issues.apache.org/jira/browse/FLINK-4494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15438695#comment-15438695 ]
Aljoscha Krettek commented on FLINK-4494:
-----------------------------------------
+1 that would be a very good change
> Expose the TimeServiceProvider from the Task to each Operator.
> --------------------------------------------------------------
>
> Key: FLINK-4494
> URL: https://issues.apache.org/jira/browse/FLINK-4494
> Project: Flink
> Issue Type: Bug
> Reporter: Kostas Kloudas
> Assignee: Kostas Kloudas
>
> This change aims at simplifying the {{StreamTask}} class by exposing directly the {{TimeServiceProvider}} to the operators being executed.
> This implies removing the {{registerTimer()}} and {{getCurrentProcessingTime()}} methods from the {{StreamTask}}. Now, to register a timer and query the time, each operator will be able to get the {{TimeServiceProvider}} and call the corresponding methods directly on it.
> In addition, this will simplify many of the tests which now implement their own time providers.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)