You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ro...@apache.org on 2013/01/08 16:21:32 UTC

svn commit: r1430320 - in /qpid/branches/0.20/qpid/java: ./ broker-plugins/management-jmx/src/main/java/org/apache/qpid/server/jmx/mbeans/VirtualHostManagerMBean.java

Author: robbie
Date: Tue Jan  8 15:21:32 2013
New Revision: 1430320

URL: http://svn.apache.org/viewvc?rev=1430320&view=rev
Log:
QPID-4519: return true for VirtualHost MBean isStatusEnabled, dont update stats when doing so, and stop using a synchronized method as a result

merged from trunk r1424763

Modified:
    qpid/branches/0.20/qpid/java/   (props changed)
    qpid/branches/0.20/qpid/java/broker-plugins/management-jmx/src/main/java/org/apache/qpid/server/jmx/mbeans/VirtualHostManagerMBean.java

Propchange: qpid/branches/0.20/qpid/java/
------------------------------------------------------------------------------
  Merged /qpid/trunk/qpid/java:r1424763

Modified: qpid/branches/0.20/qpid/java/broker-plugins/management-jmx/src/main/java/org/apache/qpid/server/jmx/mbeans/VirtualHostManagerMBean.java
URL: http://svn.apache.org/viewvc/qpid/branches/0.20/qpid/java/broker-plugins/management-jmx/src/main/java/org/apache/qpid/server/jmx/mbeans/VirtualHostManagerMBean.java?rev=1430320&r1=1430319&r2=1430320&view=diff
==============================================================================
--- qpid/branches/0.20/qpid/java/broker-plugins/management-jmx/src/main/java/org/apache/qpid/server/jmx/mbeans/VirtualHostManagerMBean.java (original)
+++ qpid/branches/0.20/qpid/java/broker-plugins/management-jmx/src/main/java/org/apache/qpid/server/jmx/mbeans/VirtualHostManagerMBean.java Tue Jan  8 15:21:32 2013
@@ -229,10 +229,9 @@ public class VirtualHostManagerMBean ext
         return getObjectNameForSingleInstanceMBean();
     }
 
-    public synchronized boolean isStatisticsEnabled()
+    public boolean isStatisticsEnabled()
     {
-        updateStats();
-        return false;  //TODO - implement isStatisticsEnabled
+        return true;
     }
 
 }



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