ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject [04/14] ignite git commit: Fixed 'misses' cache metric
Date Thu, 28 Jan 2016 17:31:42 GMT
Fixed 'misses' cache metric


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/f9868d44
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/f9868d44
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/f9868d44

Branch: refs/heads/ignite-2224-3
Commit: f9868d44757df79706b2d7c0a60acd1546ce8e8d
Parents: 457e8c1
Author: Valentin Kulichenko <valentin.kulichenko@gmail.com>
Authored: Wed Jan 27 19:49:37 2016 -0800
Committer: Valentin Kulichenko <valentin.kulichenko@gmail.com>
Committed: Wed Jan 27 19:49:37 2016 -0800

----------------------------------------------------------------------
 .../ignite/internal/processors/cache/CacheMetricsSnapshot.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/f9868d44/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheMetricsSnapshot.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheMetricsSnapshot.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheMetricsSnapshot.java
index fc7e9a7..1971d5b 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheMetricsSnapshot.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheMetricsSnapshot.java
@@ -353,7 +353,7 @@ public class CacheMetricsSnapshot implements CacheMetrics, Externalizable
{
             reads += e.getCacheGets();
             puts += e.getCachePuts();
             hits += e.getCacheHits();
-            misses += e.getCacheHits();
+            misses += e.getCacheMisses();
             txCommits += e.getCacheTxCommits();
             txRollbacks += e.getCacheTxRollbacks();
             evicts += e.getCacheEvictions();
@@ -966,4 +966,4 @@ public class CacheMetricsSnapshot implements CacheMetrics, Externalizable
{
         writeBehindCriticalOverflowCnt = in.readInt();
         writeBehindErrorRetryCnt = in.readInt();
     }
-}
\ No newline at end of file
+}


Mime
View raw message