ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject ignite git commit: IGNITE-1071 IgniteCache.metrics() method returns local metrics
Date Fri, 25 Mar 2016 11:20:13 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-1071 2a98c08fc -> f9d11cb87


IGNITE-1071 IgniteCache.metrics() method returns local metrics


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

Branch: refs/heads/ignite-1071
Commit: f9d11cb87d7c765474e0db8958ceaaed54ddaa6e
Parents: 2a98c08
Author: Anton Vinogradov <av@apache.org>
Authored: Fri Mar 25 14:19:55 2016 +0300
Committer: Anton Vinogradov <av@apache.org>
Committed: Fri Mar 25 14:19:55 2016 +0300

----------------------------------------------------------------------
 .../processors/cache/CacheMetricsForClusterGroupSelfTest.java      | 2 +-
 .../cache/distributed/near/GridCacheNearMetricsSelfTest.java       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/f9d11cb8/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheMetricsForClusterGroupSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheMetricsForClusterGroupSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheMetricsForClusterGroupSelfTest.java
index c0075ad..9c24feb 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheMetricsForClusterGroupSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheMetricsForClusterGroupSelfTest.java
@@ -213,7 +213,7 @@ public class CacheMetricsForClusterGroupSelfTest extends GridCommonAbstractTest
             CacheMetrics metrics = cache.metrics(grid(i).cluster().forCacheNodes(cache.getName()));
 
             for (int j = 0; j < GRID_CNT; j++)
-                ms[j] = grid(j).cache(cache.getName()).metrics();
+                ms[j] = grid(j).cache(cache.getName()).localMetrics();
 
             // Static metrics
             for (int j = 0; j < GRID_CNT; j++)

http://git-wip-us.apache.org/repos/asf/ignite/blob/f9d11cb8/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearMetricsSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearMetricsSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearMetricsSelfTest.java
index 01ed157..070dca9 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearMetricsSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearMetricsSelfTest.java
@@ -72,7 +72,7 @@ public class GridCacheNearMetricsSelfTest extends GridCacheAbstractSelfTest
{
 
             assert g.cache(null).localSize() == 0;
 
-            g.cache(null).mxBean().clear();
+            g.cache(null).localMxBean().clear();
         }
     }
 


Mime
View raw message