You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2013/05/23 11:05:38 UTC
svn commit: r1485620 -
/ofbiz/trunk/framework/base/src/org/ofbiz/base/metrics/MetricsFactory.java
Author: jleroux
Date: Thu May 23 09:05:38 2013
New Revision: 1485620
URL: http://svn.apache.org/r1485620
Log:
Add a mean to collect and show the Requests Events durations using Metrics https://issues.apache.org/jira/browse/OFBIZ-5198
This has involuntary slipped in, thanks to Adrian who reviewed
Modified:
ofbiz/trunk/framework/base/src/org/ofbiz/base/metrics/MetricsFactory.java
Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/metrics/MetricsFactory.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/metrics/MetricsFactory.java?rev=1485620&r1=1485619&r2=1485620&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/metrics/MetricsFactory.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/metrics/MetricsFactory.java Thu May 23 09:05:38 2013
@@ -151,9 +151,9 @@ public final class MetricsFactory {
@LockedBy("this")
private long cumulativeEvents;
private final String name;
- private int estimationSize;
- private long estimationTime;
- private double smoothing;
+ private final int estimationSize;
+ private final long estimationTime;
+ private final double smoothing;
private final double threshold;
private MetricsImpl(String name, int estimationSize, long estimationTime, double smoothing, double threshold) {