ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject [04/20] incubator-ignite git commit: # sprint-2 - example fix.
Date Wed, 25 Mar 2015 12:02:28 GMT
# sprint-2 - example fix.


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

Branch: refs/heads/ignite-341
Commit: d5487f5ff6621c0d4ab08ea33cf7e09caf3708b9
Parents: 4a79172
Author: Dmitiry Setrakyan <dsetrakyan@gridgain.com>
Authored: Wed Mar 25 00:10:40 2015 -0700
Committer: Dmitiry Setrakyan <dsetrakyan@gridgain.com>
Committed: Wed Mar 25 00:10:40 2015 -0700

----------------------------------------------------------------------
 .../org/apache/ignite/examples/datagrid/CacheQueryExample.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d5487f5f/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheQueryExample.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheQueryExample.java
b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheQueryExample.java
index 9b69d81..e667d93 100644
--- a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheQueryExample.java
+++ b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheQueryExample.java
@@ -75,13 +75,13 @@ public class CacheQueryExample {
 
             CacheConfiguration<?, ?> orgCacheCfg = new CacheConfiguration<>();
 
-            orgCacheCfg.setCacheMode(CacheMode.PARTITIONED);
+            orgCacheCfg.setCacheMode(CacheMode.PARTITIONED); // Default.
             orgCacheCfg.setName(ORG_CACHE);
             orgCacheCfg.setIndexedTypes(UUID.class, Organization.class);
 
             CacheConfiguration<?, ?> personCacheCfg = new CacheConfiguration<>();
 
-            personCacheCfg.setCacheMode(CacheMode.PARTITIONED);
+            personCacheCfg.setCacheMode(CacheMode.PARTITIONED); // Default.
             personCacheCfg.setName(PERSON_CACHE);
             personCacheCfg.setIndexedTypes(AffinityKey.class, Person.class);
 


Mime
View raw message