ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject incubator-ignite git commit: #IGNITE-160 Added setter
Date Thu, 05 Feb 2015 08:34:22 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-160 5f63ddf09 -> d5eb0bbbf


#IGNITE-160 Added setter


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

Branch: refs/heads/ignite-160
Commit: d5eb0bbbfe23e0e9f666228b9c9a35bc1acfff6c
Parents: 5f63ddf
Author: nikolay_tikhonov <ntikhonov@gridgain.com>
Authored: Thu Feb 5 11:34:39 2015 +0300
Committer: nikolay_tikhonov <ntikhonov@gridgain.com>
Committed: Thu Feb 5 11:34:39 2015 +0300

----------------------------------------------------------------------
 .../configuration/IgniteConfiguration.java      | 11 ++++-----
 .../org/apache/ignite/internal/IgnitionEx.java  | 24 ++++++++++----------
 2 files changed, 17 insertions(+), 18 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d5eb0bbb/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java
b/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java
index 6d487e6..26d06a5 100644
--- a/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java
+++ b/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java
@@ -43,12 +43,9 @@ import org.apache.ignite.spi.deployment.*;
 import org.apache.ignite.spi.discovery.*;
 import org.apache.ignite.spi.eventstorage.*;
 import org.apache.ignite.spi.failover.*;
-import org.apache.ignite.spi.indexing.*;
 import org.apache.ignite.spi.loadbalancing.*;
 import org.apache.ignite.spi.securesession.*;
 import org.apache.ignite.spi.swapspace.*;
-import org.apache.ignite.internal.util.typedef.internal.*;
-import org.apache.ignite.streamer.*;
 
 import javax.management.*;
 import java.lang.management.*;
@@ -3224,9 +3221,11 @@ public class IgniteConfiguration {
         return indexingSpi;
     }
 
+    public DiscoverySpi setDiscoverySpi(DiscoverySpi discoverySpi) {
+        return this.discoverySpi = discoverySpi;
+    }
 
-
-/*    public void setCommunicationSpi(CommunicationSpi communicationSpi) {
+    public void setCommunicationSpi(CommunicationSpi communicationSpi) {
         this.communicationSpi = communicationSpi;
     }
 
@@ -3268,5 +3267,5 @@ public class IgniteConfiguration {
 
     public void setIndexingSpi(GridIndexingSpi indexingSpi) {
         this.indexingSpi = indexingSpi;
-    }*/
+    }
 }

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d5eb0bbb/modules/core/src/main/java/org/apache/ignite/internal/IgnitionEx.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/IgnitionEx.java b/modules/core/src/main/java/org/apache/ignite/internal/IgnitionEx.java
index 92780c8..5d110e7 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/IgnitionEx.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/IgnitionEx.java
@@ -1839,18 +1839,18 @@ public class IgnitionEx {
             if (indexingSpi == null)
                 indexingSpi = new GridNoopIndexingSpi();
 
-//            myCfg.setCommunicationSpi(commSpi);
-//            myCfg.setDiscoverySpi(discoSpi);
-//            myCfg.setCheckpointSpi(cpSpi);
-//            myCfg.setEventStorageSpi(evtSpi);
-//            myCfg.setAuthenticationSpi(authSpi);
-//            myCfg.setSecureSessionSpi(sesSpi);
-//            myCfg.setDeploymentSpi(deploySpi);
-//            myCfg.setFailoverSpi(failSpi);
-//            myCfg.setCollisionSpi(colSpi);
-//            myCfg.setLoadBalancingSpi(loadBalancingSpi);
-//            myCfg.setSwapSpaceSpi(swapspaceSpi);
-//            myCfg.setIndexingSpi(indexingSpi);
+            myCfg.setCommunicationSpi(commSpi);
+            myCfg.setDiscoverySpi(discoSpi);
+            myCfg.setCheckpointSpi(cpSpi);
+            myCfg.setEventStorageSpi(evtSpi);
+            myCfg.setAuthenticationSpi(authSpi);
+            myCfg.setSecureSessionSpi(sesSpi);
+            myCfg.setDeploymentSpi(deploySpi);
+            myCfg.setFailoverSpi(failSpi);
+            myCfg.setCollisionSpi(colSpi);
+            myCfg.setLoadBalancingSpi(loadBalancingSpi);
+            myCfg.setSwapSpaceSpi(swapspaceSpi);
+            myCfg.setIndexingSpi(indexingSpi);
 
             myCfg.setAddressResolver(cfg.getAddressResolver());
 


Mime
View raw message