ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [4/8] ignite git commit: Minor change to Visor classes: added setters for name and queryMetrics properties.
Date Wed, 30 Mar 2016 12:10:01 GMT
Minor change to Visor classes: added setters for name and queryMetrics properties.


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

Branch: refs/heads/ignite-1786
Commit: a1a6bf25a586cbd491b697319a39fafdc3198ba9
Parents: 7081c01
Author: Alexey Kuznetsov <akuznetsov@apache.org>
Authored: Wed Mar 30 14:44:24 2016 +0700
Committer: Alexey Kuznetsov <akuznetsov@apache.org>
Committed: Wed Mar 30 14:44:24 2016 +0700

----------------------------------------------------------------------
 .../ignite/internal/visor/cache/VisorCache.java   |  9 +++++++++
 .../internal/visor/cache/VisorCacheMetrics.java   | 18 ++++++++++++++++++
 2 files changed, 27 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/a1a6bf25/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCache.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCache.java
b/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCache.java
index 7cd0669..b5151c7 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCache.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCache.java
@@ -301,6 +301,15 @@ public class VisorCache implements Serializable {
     }
 
     /**
+     * Sets new value for cache name.
+     *
+     * @param name New cache name.
+     */
+    public void name(String name) {
+        this.name = name;
+    }
+
+    /**
      * @return Dynamic deployment ID.
      */
     public IgniteUuid dynamicDeploymentId() {

http://git-wip-us.apache.org/repos/asf/ignite/blob/a1a6bf25/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCacheMetrics.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCacheMetrics.java
b/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCacheMetrics.java
index 0a77dc4..5d75e25 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCacheMetrics.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCacheMetrics.java
@@ -238,6 +238,15 @@ public class VisorCacheMetrics implements Serializable {
     }
 
     /**
+     * Sets cache name.
+     *
+     * @param name New value for cache name.
+     */
+    public void name(String name) {
+        this.name = name;
+    }
+
+    /**
      * @return Cache mode.
      */
     public CacheMode mode() {
@@ -406,6 +415,15 @@ public class VisorCacheMetrics implements Serializable {
     }
 
     /**
+     * Sets cache query metrics.
+     *
+     * @param qryMetrics New value for query metrics.
+     */
+    public void queryMetrics(VisorCacheQueryMetrics qryMetrics) {
+        this.qryMetrics = qryMetrics;
+    }
+
+    /**
      * @return Current size of evict queue used to batch up evictions.
      */
     public int dhtEvictQueueCurrentSize() {


Mime
View raw message