Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 03167200B8D for ; Fri, 23 Sep 2016 15:28:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 01AFD160AD6; Fri, 23 Sep 2016 13:28:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 69D45160AC2 for ; Fri, 23 Sep 2016 15:28:21 +0200 (CEST) Received: (qmail 50559 invoked by uid 500); 23 Sep 2016 13:28:20 -0000 Mailing-List: contact issues-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list issues@flink.apache.org Received: (qmail 50535 invoked by uid 99); 23 Sep 2016 13:28:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Sep 2016 13:28:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 751012C0057 for ; Fri, 23 Sep 2016 13:28:20 +0000 (UTC) Date: Fri, 23 Sep 2016 13:28:20 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-4494) Expose the TimeServiceProvider from the Task to each Operator. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 23 Sep 2016 13:28:22 -0000 [ https://issues.apache.org/jira/browse/FLINK-4494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15516455#comment-15516455 ] ASF GitHub Bot commented on FLINK-4494: --------------------------------------- Github user kl0u closed the pull request at: https://github.com/apache/flink/pull/2532 > 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)