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 83E0A200C5E for ; Fri, 17 Mar 2017 22:48:47 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 82A22160B80; Fri, 17 Mar 2017 21:48:47 +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 D40E8160B8C for ; Fri, 17 Mar 2017 22:48:46 +0100 (CET) Received: (qmail 31158 invoked by uid 500); 17 Mar 2017 21:48:45 -0000 Mailing-List: contact commits-help@beam.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.apache.org Delivered-To: mailing list commits@beam.apache.org Received: (qmail 31091 invoked by uid 99); 17 Mar 2017 21:48:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Mar 2017 21:48:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 7D735189551 for ; Fri, 17 Mar 2017 21:48:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.651 X-Spam-Level: X-Spam-Status: No, score=0.651 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id mVnlDNcaHkgk for ; Fri, 17 Mar 2017 21:48:43 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 701A85FE0B for ; Fri, 17 Mar 2017 21:48:43 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 5CF2EE08B9 for ; Fri, 17 Mar 2017 21:48:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id E6668254BA for ; Fri, 17 Mar 2017 21:48:41 +0000 (UTC) Date: Fri, 17 Mar 2017 21:48:41 +0000 (UTC) From: "Kenneth Knowles (JIRA)" To: commits@beam.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BEAM-1727) Add setForNowAlign(period, offset) to Timer MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 17 Mar 2017 21:48:47 -0000 [ https://issues.apache.org/jira/browse/BEAM-1727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15930787#comment-15930787 ] Kenneth Knowles commented on BEAM-1727: --------------------------------------- It seems like a real error to set a timer for a time after the window will be expired. I'd like to keep it an exception. But for a user who wants to align (round up) but then cut off at the end of the window, we could provide a simple utility to take min(time to set, end of window). I considered just silently cutting it off, but I don't think that is as usable. > Add setForNowAlign(period, offset) to Timer > ------------------------------------------- > > Key: BEAM-1727 > URL: https://issues.apache.org/jira/browse/BEAM-1727 > Project: Beam > Issue Type: Improvement > Components: beam-model > Reporter: Jingsong Lee > -- This message was sent by Atlassian JIRA (v6.3.15#6346)