ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dma...@apache.org
Subject ignite git commit: Improved example
Date Fri, 16 Jun 2017 05:39:55 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-5267 168577d8e -> accdea0c0


Improved example


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

Branch: refs/heads/ignite-5267
Commit: accdea0c054c781f99859942d679b97e6d4cbff7
Parents: 168577d
Author: Denis Magda <dmagda@gridgain.com>
Authored: Thu Jun 15 22:39:51 2017 -0700
Committer: Denis Magda <dmagda@gridgain.com>
Committed: Thu Jun 15 22:39:51 2017 -0700

----------------------------------------------------------------------
 examples/config/persistentstore/example-persistent-store.xml     | 4 ++++
 .../ignite/examples/persistentstore/PersistentStoreExample.java  | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/accdea0c/examples/config/persistentstore/example-persistent-store.xml
----------------------------------------------------------------------
diff --git a/examples/config/persistentstore/example-persistent-store.xml b/examples/config/persistentstore/example-persistent-store.xml
index 955ef8c..a9d8fc3 100644
--- a/examples/config/persistentstore/example-persistent-store.xml
+++ b/examples/config/persistentstore/example-persistent-store.xml
@@ -50,6 +50,10 @@
             </list>
         </property>
 
+        <property name="memoryConfiguration">
+            <bean class="org.apache.ignite.configuration.MemoryConfiguration"/>
+        </property>
+
         <!-- Explicitly configure TCP discovery SPI to provide a list of initial nodes.
-->
         <property name="discoverySpi">
             <bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">

http://git-wip-us.apache.org/repos/asf/ignite/blob/accdea0c/examples/src/main/java/org/apache/ignite/examples/persistentstore/PersistentStoreExample.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/ignite/examples/persistentstore/PersistentStoreExample.java
b/examples/src/main/java/org/apache/ignite/examples/persistentstore/PersistentStoreExample.java
index 2e066ef..7f355b0 100644
--- a/examples/src/main/java/org/apache/ignite/examples/persistentstore/PersistentStoreExample.java
+++ b/examples/src/main/java/org/apache/ignite/examples/persistentstore/PersistentStoreExample.java
@@ -44,7 +44,7 @@ import org.apache.ignite.examples.model.Organization;
  */
 public class PersistentStoreExample {
     /** */
-    private static final boolean UPDATE = true;
+    private static final boolean UPDATE = false;
 
     /**
      * @param args Program arguments, ignored.


Mime
View raw message