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 EF0B0200C5C for ; Thu, 20 Apr 2017 14:26:38 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id ED8A3160B9F; Thu, 20 Apr 2017 12:26:38 +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 40E02160B91 for ; Thu, 20 Apr 2017 14:26:38 +0200 (CEST) Received: (qmail 80245 invoked by uid 500); 20 Apr 2017 12:26:37 -0000 Mailing-List: contact dev-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 dev@flink.apache.org Received: (qmail 80231 invoked by uid 99); 20 Apr 2017 12:26:37 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Apr 2017 12:26:37 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 898E4C20E0 for ; Thu, 20 Apr 2017 12:26:36 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.479 X-Spam-Level: ** X-Spam-Status: No, score=2.479 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=helpshift-com.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 2TTropDWY36v for ; Thu, 20 Apr 2017 12:26:34 +0000 (UTC) Received: from mail-yb0-f177.google.com (mail-yb0-f177.google.com [209.85.213.177]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 0780560E2E for ; Thu, 20 Apr 2017 12:26:34 +0000 (UTC) Received: by mail-yb0-f177.google.com with SMTP id 81so24543138ybp.0 for ; Thu, 20 Apr 2017 05:26:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=helpshift-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=yDw/5Pt8rWiStH5o3Qk8WWqvff4JVJcfVR36JGMixKg=; b=jLfjS1vgCxRggf7WTHi8ANf9E2dkFoIU58rH8M4BmamUDxIhjgJB0vJ9dO+toDCr00 sn7g72cfelWXjDfOwQQqth78ghpTP9UviULevF86gov2V0HhFwcH7Lw2JClpE4tWaHRj TBBWgwy57csLtajHaGV/HFhbRHURCBUlBN/EZc7k2lbUZdSjyZTNAWclxrC1ndVDs+hN dQ+eeEblUTZ3hVRvqM3ErV+g84hE8upw8LQ9PcvNAqVfQk7ucUexXTyKYN9+6zPfQhL2 mBO4ESaSy/hCdgR/pQu4Hzq6RstW/rkHvXECQpj+TCCrQMmhhVG7h0AoETQVbYCj5HKr gggg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=yDw/5Pt8rWiStH5o3Qk8WWqvff4JVJcfVR36JGMixKg=; b=hh6Efz+4yK3BiSH3VxKYiuT129fXxuLkrHTuSGrPdLKqEDNgqTRe0nDx/+6JQJ2AJa ml3NDqwqd+3Xl1R23gb/3xd386rmdeZrnXuRZiUN+4LtHTC53D/hc0wg/nE1rr1FFXSN Pfd85g+ac/8e4AcyAXRFdi8LpSUuWYxA/KeS+mH+laQqAwoyJiSRXnA2q8T+5xhGTGDP hD6TApKhbGvoXUJnvlQdVbDxQy+FXS45MY9Rl2djTa/9fPp9iIPk/QPm3l8bXyiPgNOr 5dNPaex55vfjj0/fgNZjV5QM3vscFkfIt1t0s493I6Tnb9aWBagYF/NtmW6C5NB9+1jF /FCw== X-Gm-Message-State: AN3rC/6n5Fx9tSfXf0Iz/wS+tmvLFfa2WQl85a5j6PiHhX8CcZ5kWqGG qmk9wZ+BIAfKOrXYBKLF+pNqoXj+CeRK X-Received: by 10.37.104.197 with SMTP id d188mr6620472ybc.156.1492691193479; Thu, 20 Apr 2017 05:26:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.129.178.135 with HTTP; Thu, 20 Apr 2017 05:26:33 -0700 (PDT) From: Jagadish Bihani Date: Thu, 20 Apr 2017 17:56:33 +0530 Message-ID: Subject: Why TimerService interface in ProcessFunction doesn't have deleteEventTimeTimer To: dev@flink.apache.org Content-Type: multipart/alternative; boundary=f403045c05a658e356054d984004 archived-at: Thu, 20 Apr 2017 12:26:39 -0000 --f403045c05a658e356054d984004 Content-Type: text/plain; charset=UTF-8 Hi I am working on a use case where I want to start a timer for a given event type and when that timer expires it will perform certain action. This can be done using Process Function. But I also want to cancel scheduled timer in case of some other types of events. I also checked the implementation of HeapInternalTimerService which implements InternalTimerService interface has those implementations already. Also SimpleTimerService which overrides TimerService also uses InternalTimerService and simply passes VoidNamespace.INSTANCE. So in a way we are using InternalTimerService interface's implementations everywhere. So what is the reason that ProcessFunction.Context uses TimerService? Any reason 'deleteEventTimeTimer' is not exposed to users? If I want to use the deleteEvent functionality how should I go about it? -- Thanks and Regards, Jagadish Bihani --f403045c05a658e356054d984004--