[ 
https://issues.apache.org/jira/browse/STORM-1932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15377193#comment-15377193
 ] 

ASF GitHub Bot commented on STORM-1932:
---------------------------------------

Github user darionyaphet commented on a diff in the pull request:

    https://github.com/apache/storm/pull/1527#discussion_r70834283
  
    --- Diff: 
storm-core/src/jvm/org/apache/storm/windowing/CountEvictionPolicy.java ---
    @@ -26,10 +26,10 @@
      * @param <T> the type of event tracked by this policy.
      */
     public class CountEvictionPolicy<T> implements EvictionPolicy<T> {
    -    private final int threshold;
    +    private final long threshold;
    --- End diff --
    
    the `CountWindow` and `DurationWindow` both extend from WindowConfig and 
`windowLength` and `slideLength` are Long type.


> Change Duration's value data type 
> ----------------------------------
>
>                 Key: STORM-1932
>                 URL: https://issues.apache.org/jira/browse/STORM-1932
>             Project: Apache Storm
>          Issue Type: Improvement
>          Components: storm-core
>            Reporter: darion yaphet
>            Assignee: darion yaphet
>
> BaseWindowedBolt Duration value is integer now . Use long to express time 
> interval maybe better



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to