activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r509612 - in /activemq/trunk/activemq-core/src/main/java/org/apache/activemq: broker/BrokerService.java management/StatisticImpl.java
Date Tue, 20 Feb 2007 15:40:09 GMT
Author: rajdavies
Date: Tue Feb 20 07:40:08 2007
New Revision: 509612

URL: http://svn.apache.org/viewvc?view=rev&rev=509612
Log:
set stats collection to false by default - a real performance hog - ironically

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/management/StatisticImpl.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java?view=diff&rev=509612&r1=509611&r2=509612
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
Tue Feb 20 07:40:08 2007
@@ -103,7 +103,7 @@
     public static final String LOCAL_HOST_NAME;
 
     private boolean useJmx = true;
-    private boolean enableStatistics = true;
+    private boolean enableStatistics = false;
     private boolean persistent = true;
     private boolean populateJMSXUserID = false;
     private boolean useShutdownHook = true;

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/management/StatisticImpl.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/management/StatisticImpl.java?view=diff&rev=509612&r1=509611&r2=509612
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/management/StatisticImpl.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/management/StatisticImpl.java
Tue Feb 20 07:40:08 2007
@@ -29,7 +29,7 @@
     private String description;
     private long startTime;
     private long lastSampleTime;
-    protected boolean enabled= true;
+    protected boolean enabled= false;
 
     public StatisticImpl(String name, String unit, String description) {
         this.name = name;



Mime
View raw message