ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [1/3] ignite git commit: Simplified Memory Policies Example
Date Wed, 12 Jul 2017 06:05:33 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-5578-locJoin 3261d0843 -> 0b9ba7a2a


Simplified Memory Policies Example


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

Branch: refs/heads/ignite-5578-locJoin
Commit: 5c363184c80f2fd8b79f1075d1eacbf9af5369a1
Parents: e93b284
Author: Denis Magda <dmagda@gridgain.com>
Authored: Tue Jul 11 12:20:16 2017 -0700
Committer: Denis Magda <dmagda@gridgain.com>
Committed: Tue Jul 11 12:20:16 2017 -0700

----------------------------------------------------------------------
 examples/config/example-memory-policies.xml | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/5c363184/examples/config/example-memory-policies.xml
----------------------------------------------------------------------
diff --git a/examples/config/example-memory-policies.xml b/examples/config/example-memory-policies.xml
index 48a5383..122300f 100644
--- a/examples/config/example-memory-policies.xml
+++ b/examples/config/example-memory-policies.xml
@@ -34,12 +34,9 @@
 
         <property name="memoryConfiguration">
             <bean class="org.apache.ignite.configuration.MemoryConfiguration">
-                <!-- Setting a name of the default memory policy -->
+                <!-- Setting a name of the default memory policy. Required to set only
if the default policy's
+                    parameters are overridden like it's done below. -->
                 <property name="defaultMemoryPolicyName" value="Default_Region"/>
-                <!-- Setting the page size to 4 KB -->
-                <property name="pageSize" value="4096"/>
-                <property name="systemCacheInitialSize" value="#{40 * 1024 * 1024}"/>
-                <property name="systemCacheMaxSize" value="#{40 * 1024 * 1024}"/>
 
                 <!-- Defining several memory policies for different memory regions -->
                 <property name="memoryPolicies">


Mime
View raw message