ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [04/50] incubator-ignite git commit: #ignite-237: change affinity function in HibernateL2CacheSelfTest.
Date Tue, 03 Mar 2015 12:57:40 GMT
#ignite-237: change affinity function in HibernateL2CacheSelfTest.


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

Branch: refs/heads/ignite-349
Commit: 6a5b42f5d9fd0523c9203389cfcce4829ddc0df1
Parents: 02d46d7
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Thu Feb 26 15:49:42 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Thu Feb 26 15:49:42 2015 +0300

----------------------------------------------------------------------
 .../ignite/cache/hibernate/HibernateL2CacheSelfTest.java     | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/6a5b42f5/modules/hibernate/src/test/java/org/apache/ignite/cache/hibernate/HibernateL2CacheSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/hibernate/src/test/java/org/apache/ignite/cache/hibernate/HibernateL2CacheSelfTest.java
b/modules/hibernate/src/test/java/org/apache/ignite/cache/hibernate/HibernateL2CacheSelfTest.java
index 38146af..35f0c93 100644
--- a/modules/hibernate/src/test/java/org/apache/ignite/cache/hibernate/HibernateL2CacheSelfTest.java
+++ b/modules/hibernate/src/test/java/org/apache/ignite/cache/hibernate/HibernateL2CacheSelfTest.java
@@ -18,7 +18,7 @@
 package org.apache.ignite.cache.hibernate;
 
 import org.apache.ignite.cache.*;
-import org.apache.ignite.cache.affinity.consistenthash.*;
+import org.apache.ignite.cache.affinity.rendezvous.*;
 import org.apache.ignite.configuration.*;
 import org.apache.ignite.internal.*;
 import org.apache.ignite.spi.discovery.tcp.*;
@@ -46,8 +46,6 @@ import static org.apache.ignite.cache.CacheWriteSynchronizationMode.*;
 import static org.apache.ignite.cache.hibernate.HibernateRegionFactory.*;
 import static org.hibernate.cfg.Environment.*;
 
-import org.apache.ignite.cache.hibernate.HibernateL2CacheSelfTest.Entity;
-
 /**
  *
  * Tests Hibernate L2 cache.
@@ -425,7 +423,7 @@ public class HibernateL2CacheSelfTest extends GridCommonAbstractTest {
 
         cfg.setBackups(1);
 
-        cfg.setAffinity(new CacheConsistentHashAffinityFunction(false, 10));
+        cfg.setAffinity(new CacheRendezvousAffinityFunction(false, 10));
 
         return cfg;
     }
@@ -447,7 +445,7 @@ public class HibernateL2CacheSelfTest extends GridCommonAbstractTest {
 
         cfg.setBackups(1);
 
-        cfg.setAffinity(new CacheConsistentHashAffinityFunction(false, 10));
+        cfg.setAffinity(new CacheRendezvousAffinityFunction(false, 10));
 
         return cfg;
     }


Mime
View raw message