streams-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robdouglas <...@git.apache.org>
Subject [GitHub] incubator-streams pull request: STREAMS-199 | Implemented new coun...
Date Mon, 27 Oct 2014 14:37:31 GMT
Github user robdouglas commented on a diff in the pull request:

    https://github.com/apache/incubator-streams/pull/109#discussion_r19408344
  
    --- Diff: streams-runtimes/streams-runtime-local/src/main/java/org/apache/streams/local/tasks/StreamsProcessorTask.java
---
    @@ -117,11 +119,15 @@ public void run() {
                         Thread.currentThread().interrupt();
                     }
                     if(datum != null) {
    +                    this.counter.incrementReceivedCount();
                         try {
    +                        long startTime = System.currentTimeMillis();
                             List<StreamsDatum> output = this.processor.process(datum);
    +                        this.counter.addTime(System.currentTimeMillis() - startTime);
                             if(output != null) {
                                 for(StreamsDatum outDatum : output) {
                                     super.addToOutgoingQueue(datum);
    --- End diff --
    
    I believe this was fixed in another pull request, it should be resolved once Ryan merges
master into this branch


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