You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kw...@apache.org on 2017/09/13 16:48:03 UTC

qpid-broker-j git commit: QPID-7825: [Java Broker] Correct new method AbstractQueue#getTotalExpiredBytes which was accidentally observing the enqueued statistic

Repository: qpid-broker-j
Updated Branches:
  refs/heads/master da9a963bf -> 63912deff


QPID-7825: [Java Broker] Correct new method AbstractQueue#getTotalExpiredBytes which was accidentally observing the enqueued statistic


Project: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/commit/63912def
Tree: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/tree/63912def
Diff: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/diff/63912def

Branch: refs/heads/master
Commit: 63912deffbb395bf26cd431c81f1115d54d54803
Parents: da9a963
Author: Keith Wall <kw...@apache.org>
Authored: Wed Sep 13 17:47:26 2017 +0100
Committer: Keith Wall <kw...@apache.org>
Committed: Wed Sep 13 17:47:43 2017 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/qpid/server/queue/AbstractQueue.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-broker-j/blob/63912def/broker-core/src/main/java/org/apache/qpid/server/queue/AbstractQueue.java
----------------------------------------------------------------------
diff --git a/broker-core/src/main/java/org/apache/qpid/server/queue/AbstractQueue.java b/broker-core/src/main/java/org/apache/qpid/server/queue/AbstractQueue.java
index 79e6032..c043aac 100644
--- a/broker-core/src/main/java/org/apache/qpid/server/queue/AbstractQueue.java
+++ b/broker-core/src/main/java/org/apache/qpid/server/queue/AbstractQueue.java
@@ -2654,7 +2654,7 @@ public abstract class AbstractQueue<X extends AbstractQueue<X>>
     @Override
     public long getTotalExpiredBytes()
     {
-        return _queueStatistics.getEnqueueSize();
+        return _queueStatistics.getExpiredSize();
     }
 
     @Override


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org