ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [01/45] incubator-ignite git commit: # GG-593 WIP on collecting dynamic caches configs.
Date Tue, 07 Apr 2015 15:33:45 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-80 7184f0f34 -> 821c016b1


# GG-593 WIP on collecting dynamic caches configs.


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

Branch: refs/heads/ignite-80
Commit: a3977128b5ec137f3a08b1c43e36069e16b36f9e
Parents: c2f5211
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Tue Mar 31 17:42:17 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Tue Mar 31 17:42:17 2015 +0700

----------------------------------------------------------------------
 .../apache/ignite/internal/visor/cache/VisorCache.java  | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a3977128/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 98f602f..56aefff 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
@@ -29,6 +29,7 @@ import org.apache.ignite.internal.processors.cache.distributed.dht.preloader.*;
 import org.apache.ignite.internal.processors.cache.distributed.near.*;
 import org.apache.ignite.internal.util.lang.*;
 import org.apache.ignite.internal.util.typedef.internal.*;
+import org.apache.ignite.lang.*;
 import org.jetbrains.annotations.*;
 
 import java.io.*;
@@ -47,6 +48,9 @@ public class VisorCache implements Serializable {
     /** Cache name. */
     private String name;
 
+    /** Cache deployment ID. */
+    private IgniteUuid dynamicDeploymentId;
+
     /** Cache mode. */
     private CacheMode mode;
 
@@ -213,6 +217,7 @@ public class VisorCache implements Serializable {
         VisorCache cache = new VisorCache();
 
         cache.name = cacheName;
+        cache.dynamicDeploymentId = ca.context().dynamicDeploymentId();
         cache.mode = mode;
         cache.memorySize = memSz;
         cache.size = size;
@@ -265,6 +270,13 @@ public class VisorCache implements Serializable {
     }
 
     /**
+     * @return Dynamic deployment ID.
+     */
+    public IgniteUuid dynamicDeploymentId() {
+        return dynamicDeploymentId;
+    }
+
+    /**
      * @return Cache mode.
      */
     public CacheMode mode() {


Mime
View raw message