ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject [49/53] [abbrv] incubator-ignite git commit: Ignite - Fixing.
Date Tue, 23 Dec 2014 20:36:32 GMT
Ignite - Fixing.


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

Branch: refs/heads/ignite-gg9499
Commit: 3f254252b6a366060fbc65de59fc988ab4a2d9b9
Parents: e01d3c3
Author: Alexey Goncharuk <agoncharuk@gridgain.com>
Authored: Mon Dec 22 18:25:29 2014 -0800
Committer: Alexey Goncharuk <agoncharuk@gridgain.com>
Committed: Mon Dec 22 18:25:29 2014 -0800

----------------------------------------------------------------------
 .../grid/kernal/visor/cache/VisorCacheMetrics.java     | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/3f254252/modules/core/src/main/java/org/gridgain/grid/kernal/visor/cache/VisorCacheMetrics.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/gridgain/grid/kernal/visor/cache/VisorCacheMetrics.java
b/modules/core/src/main/java/org/gridgain/grid/kernal/visor/cache/VisorCacheMetrics.java
index 5b75c59..507ef2f 100644
--- a/modules/core/src/main/java/org/gridgain/grid/kernal/visor/cache/VisorCacheMetrics.java
+++ b/modules/core/src/main/java/org/gridgain/grid/kernal/visor/cache/VisorCacheMetrics.java
@@ -92,7 +92,6 @@ public class VisorCacheMetrics implements Serializable {
     public static VisorCacheMetrics from(GridCache c) {
         VisorCacheMetrics cm = new VisorCacheMetrics();
 
-        // TODO gg-9141
         GridCacheMetrics m = c.metrics();
 
         cm.size = c.size();
@@ -100,23 +99,23 @@ public class VisorCacheMetrics implements Serializable {
         cm.createTm = m.createTime();
         cm.writeTm = m.writeTime();
         cm.readTm = m.readTime();
-//        cm.commitTm = m.commitTime();
-//        cm.rollbackTm = m.rollbackTime();
+        cm.commitTm = m.commitTime();
+        cm.rollbackTm = m.rollbackTime();
 
         cm.reads = m.reads();
         cm.writes = m.writes();
         cm.hits = m.hits();
         cm.misses = m.misses();
 
-//        cm.txCommits = m.txCommits();
-//        cm.txRollbacks = m.txRollbacks();
+        cm.txCommits = m.txCommits();
+        cm.txRollbacks = m.txRollbacks();
 
         cm.readsPerSec = perSecond(m.reads(), m.readTime(), m.createTime());
         cm.writesPerSec = perSecond(m.writes(), m.writeTime(), m.createTime());
         cm.hitsPerSec = perSecond (m.hits(), m.readTime(), m.createTime());
         cm.missesPerSec = perSecond(m.misses(), m.readTime(), m.createTime());
-//        cm.commitsPerSec = perSecond(m.txCommits(), m.commitTime(), m.createTime());
-//        cm.rollbacksPerSec = perSecond(m.txRollbacks(), m.rollbackTime(), m.createTime());
+        cm.commitsPerSec = perSecond(m.txCommits(), m.commitTime(), m.createTime());
+        cm.rollbacksPerSec = perSecond(m.txRollbacks(), m.rollbackTime(), m.createTime());
 
         cm.qryMetrics = VisorCacheQueryMetrics.from(c.queries().metrics());
 


Mime
View raw message