apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gauravgopi123 <...@git.apache.org>
Subject [GitHub] incubator-apex-core pull request: Introduce Abstract and Forwardin...
Date Mon, 16 Nov 2015 18:06:45 GMT
Github user gauravgopi123 commented on a diff in the pull request:

    https://github.com/apache/incubator-apex-core/pull/162#discussion_r44958755
  
    --- Diff: engine/src/main/java/com/datatorrent/stram/stream/BufferServerSubscriber.java
---
    @@ -242,6 +243,21 @@ public long getByteCount(boolean reset)
         }
     
         @Override
    +    public int size(final boolean dataTupleAware)
    +    {
    +      int size = size();
    +      if (dataTupleAware) {
    --- End diff --
    
    @vrozov : Use case when you want to dynamically partition an operator based on queue size
of backlog. For that you don't want to count control tuples, you want to calculate only data
tuples..


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message