commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nico...@apache.org
Subject svn commit: r663077 - /commons/sandbox/monitoring/trunk/src/main/java/org/apache/commons/monitoring/impl/values/ThreadSafeCounter.java
Date Wed, 04 Jun 2008 12:49:35 GMT
Author: nicolas
Date: Wed Jun  4 05:49:34 2008
New Revision: 663077

URL: http://svn.apache.org/viewvc?rev=663077&view=rev
Log:
render sum of squares to support post-processing of stats and datas from multiple instances
(cluster) aggregation

Modified:
    commons/sandbox/monitoring/trunk/src/main/java/org/apache/commons/monitoring/impl/values/ThreadSafeCounter.java

Modified: commons/sandbox/monitoring/trunk/src/main/java/org/apache/commons/monitoring/impl/values/ThreadSafeCounter.java
URL: http://svn.apache.org/viewvc/commons/sandbox/monitoring/trunk/src/main/java/org/apache/commons/monitoring/impl/values/ThreadSafeCounter.java?rev=663077&r1=663076&r2=663077&view=diff
==============================================================================
--- commons/sandbox/monitoring/trunk/src/main/java/org/apache/commons/monitoring/impl/values/ThreadSafeCounter.java
(original)
+++ commons/sandbox/monitoring/trunk/src/main/java/org/apache/commons/monitoring/impl/values/ThreadSafeCounter.java
Wed Jun  4 05:49:34 2008
@@ -109,5 +109,13 @@
         return sum;
     }
 
+    /**
+     * @return the sumOfSquares
+     */
+    public long getSumOfSquares()
+    {
+        return sumOfSquares;
+    }
+
 
 }



Mime
View raw message