You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by GitBox <gi...@apache.org> on 2019/07/15 20:27:14 UTC

[GitHub] [activemq-artemis] clebertsuconic commented on a change in pull request #2751: ARTEMIS-2322: Expose Queue.getRate() data as JMX metric

clebertsuconic commented on a change in pull request #2751: ARTEMIS-2322: Expose Queue.getRate() data as JMX metric
URL: https://github.com/apache/activemq-artemis/pull/2751#discussion_r303620629
 
 

 ##########
 File path: artemis-server/src/main/java/org/apache/activemq/artemis/core/management/impl/QueueControlImpl.java
 ##########
 @@ -249,6 +249,21 @@ public long getMessageCount() {
       }
    }
 
+   @Override
+   public float getProducedRate() {
+      if (AuditLogger.isEnabled()) {
+         AuditLogger.getProducedRate(queue);
+      }
+      checkStarted();
+
+      clearIO();
 
 Review comment:
   @michaelandrepearce I think it's harmless though.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services