ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject incubator-ignite git commit: # IGNITE-45 Enabled write behind.
Date Sun, 22 Mar 2015 12:14:27 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-45 c2eab73e6 -> ea5346130


# IGNITE-45 Enabled write behind.


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

Branch: refs/heads/ignite-45
Commit: ea5346130eea5857ec5503bea4537d68064d9a40
Parents: c2eab73
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Sun Mar 22 19:09:36 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Sun Mar 22 19:09:36 2015 +0700

----------------------------------------------------------------------
 examples/schema-import/src/main/java/org/apache/ignite/Demo.java | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/ea534613/examples/schema-import/src/main/java/org/apache/ignite/Demo.java
----------------------------------------------------------------------
diff --git a/examples/schema-import/src/main/java/org/apache/ignite/Demo.java b/examples/schema-import/src/main/java/org/apache/ignite/Demo.java
index 10ed54e..8cd7818 100644
--- a/examples/schema-import/src/main/java/org/apache/ignite/Demo.java
+++ b/examples/schema-import/src/main/java/org/apache/ignite/Demo.java
@@ -37,6 +37,9 @@ public class Demo {
         ccfg.setReadThrough(true);
         ccfg.setWriteThrough(true);
 
+        // Enable database batching.
+        ccfg.setWriteBehindEnabled(true);
+
         // Configure cache types metadata.
         ccfg.setTypeMetadata(ConfigurationSnippet.typeMetadata());
 


Mime
View raw message