[ 
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)

Reply via email to