ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject incubator-ignite git commit: created portable configuration
Date Wed, 03 Jun 2015 11:13:00 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-portable-bench [created] a870d8aae


created portable configuration


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

Branch: refs/heads/ignite-portable-bench
Commit: a870d8aae8ce30e5bf3b9e06b9717b3f362c5c49
Parents: c232631
Author: Denis Magda <dmagda@gridgain.com>
Authored: Wed Jun 3 14:12:42 2015 +0300
Committer: Denis Magda <dmagda@gridgain.com>
Committed: Wed Jun 3 14:12:42 2015 +0300

----------------------------------------------------------------------
 modules/yardstick/config/ignite-base-config.xml | 124 +++++++++++++++++--
 1 file changed, 114 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a870d8aa/modules/yardstick/config/ignite-base-config.xml
----------------------------------------------------------------------
diff --git a/modules/yardstick/config/ignite-base-config.xml b/modules/yardstick/config/ignite-base-config.xml
index 9d28774..dba6310 100644
--- a/modules/yardstick/config/ignite-base-config.xml
+++ b/modules/yardstick/config/ignite-base-config.xml
@@ -29,6 +29,23 @@
 
         <property name="metricsLogFrequency" value="5000"/>
 
+        <property name="pluginConfigurations">
+            <list>
+                <bean class="org.gridgain.grid.configuration.GridGainConfiguration">
+                    <!-- Portable objects configuration. -->
+                    <property name="portableConfiguration">
+                        <bean class="org.gridgain.grid.configuration.PortableConfiguration">
+                            <property name="classNames">
+                                <list>
+                                    <value>org.apache.ignite.yardstick.cache.model.*</value>
+                                </list>
+                            </property>
+                        </bean>
+                    </property>
+                </bean>
+            </list>
+        </property>
+
         <property name="cacheConfiguration">
             <list>
                 <bean class="org.apache.ignite.configuration.CacheConfiguration">
@@ -39,6 +56,14 @@
                     <property name="atomicityMode" value="ATOMIC"/>
 
                     <property name="swapEnabled" value="false"/>
+
+                    <property name="pluginConfigurations">
+                        <list>
+                            <bean class="org.gridgain.grid.configuration.GridGainCacheConfiguration">
+                                <property name="portableEnabled" value="true"/>
+                            </bean>
+                        </list>
+                    </property>
                 </bean>
 
                 <bean class="org.apache.ignite.configuration.CacheConfiguration">
@@ -51,6 +76,14 @@
                     <property name="swapEnabled" value="false"/>
 
                     <property name="memoryMode" value="OFFHEAP_TIERED"/>
+
+                    <property name="pluginConfigurations">
+                        <list>
+                            <bean class="org.gridgain.grid.configuration.GridGainCacheConfiguration">
+                                <property name="portableEnabled" value="true"/>
+                            </bean>
+                        </list>
+                    </property>
                 </bean>
 
                 <bean class="org.apache.ignite.configuration.CacheConfiguration">
@@ -64,6 +97,13 @@
 
                     <property name="memoryMode" value="OFFHEAP_VALUES"/>
 
+                    <property name="pluginConfigurations">
+                        <list>
+                            <bean class="org.gridgain.grid.configuration.GridGainCacheConfiguration">
+                                <property name="portableEnabled" value="true"/>
+                            </bean>
+                        </list>
+                    </property>
                 </bean>
 
                 <bean class="org.apache.ignite.configuration.CacheConfiguration">
@@ -75,6 +115,13 @@
 
                     <property name="swapEnabled" value="false"/>
 
+                    <property name="pluginConfigurations">
+                        <list>
+                            <bean class="org.gridgain.grid.configuration.GridGainCacheConfiguration">
+                                <property name="portableEnabled" value="true"/>
+                            </bean>
+                        </list>
+                    </property>
                 </bean>
 
                 <bean class="org.apache.ignite.configuration.CacheConfiguration">
@@ -88,6 +135,13 @@
 
                     <property name="memoryMode" value="OFFHEAP_TIERED"/>
 
+                    <property name="pluginConfigurations">
+                        <list>
+                            <bean class="org.gridgain.grid.configuration.GridGainCacheConfiguration">
+                                <property name="portableEnabled" value="true"/>
+                            </bean>
+                        </list>
+                    </property>
                 </bean>
 
                 <bean class="org.apache.ignite.configuration.CacheConfiguration">
@@ -101,6 +155,13 @@
 
                     <property name="memoryMode" value="OFFHEAP_VALUES"/>
 
+                    <property name="pluginConfigurations">
+                        <list>
+                            <bean class="org.gridgain.grid.configuration.GridGainCacheConfiguration">
+                                <property name="portableEnabled" value="true"/>
+                            </bean>
+                        </list>
+                    </property>
                 </bean>
 
                 <bean class="org.apache.ignite.configuration.CacheConfiguration">
@@ -112,13 +173,30 @@
 
                     <property name="swapEnabled" value="false"/>
 
-                    <property name="indexedTypes">
+                    <property name="typeMetadata">
                         <list>
-                            <value>java.lang.Integer</value>
-                            <value>org.apache.ignite.yardstick.cache.model.Organization</value>
+                            <bean class="org.apache.ignite.cache.CacheTypeMetadata">
+                                <property name="keyType" value="java.lang.Integer"/>
+                                <property name="valueType" value="org.apache.ignite.yardstick.cache.model.Organization"/>
+                            </bean>
+                            <bean class="org.apache.ignite.cache.CacheTypeMetadata">
+                                <property name="keyType" value="java.lang.Integer"/>
+                                <property name="valueType" value="org.apache.ignite.yardstick.cache.model.Person"/>
+
+                                <property name="queryFields">
+                                    <map>
+                                        <entry key="salary" value="java.lang.Double"/>
+                                    </map>
+                                </property>
+                            </bean>
+                        </list>
+                    </property>
 
-                            <value>java.lang.Integer</value>
-                            <value>org.apache.ignite.yardstick.cache.model.Person</value>
+                    <property name="pluginConfigurations">
+                        <list>
+                            <bean class="org.gridgain.grid.configuration.GridGainCacheConfiguration">
+                                <property name="portableEnabled" value="true"/>
+                            </bean>
                         </list>
                     </property>
                 </bean>
@@ -134,13 +212,31 @@
 
                     <property name="memoryMode" value="OFFHEAP_TIERED"/>
 
-                    <property name="indexedTypes">
+
+                    <property name="typeMetadata">
                         <list>
-                            <value>java.lang.Integer</value>
-                            <value>org.apache.ignite.yardstick.cache.model.Organization</value>
+                            <bean class="org.apache.ignite.cache.CacheTypeMetadata">
+                                <property name="keyType" value="java.lang.Integer"/>
+                                <property name="valueType" value="org.apache.ignite.yardstick.cache.model.Organization"/>
+                            </bean>
+                            <bean class="org.apache.ignite.cache.CacheTypeMetadata">
+                                <property name="keyType" value="java.lang.Integer"/>
+                                <property name="valueType" value="org.apache.ignite.yardstick.cache.model.Person"/>
+
+                                <property name="queryFields">
+                                    <map>
+                                        <entry key="salary" value="java.lang.Double"/>
+                                    </map>
+                                </property>
+                            </bean>
+                        </list>
+                    </property>
 
-                            <value>java.lang.Integer</value>
-                            <value>org.apache.ignite.yardstick.cache.model.Person</value>
+                    <property name="pluginConfigurations">
+                        <list>
+                            <bean class="org.gridgain.grid.configuration.GridGainCacheConfiguration">
+                                <property name="portableEnabled" value="true"/>
+                            </bean>
                         </list>
                     </property>
                 </bean>
@@ -153,6 +249,14 @@
                     <property name="atomicityMode" value="TRANSACTIONAL"/>
 
                     <property name="swapEnabled" value="false"/>
+
+                    <property name="pluginConfigurations">
+                        <list>
+                            <bean class="org.gridgain.grid.configuration.GridGainCacheConfiguration">
+                                <property name="portableEnabled" value="true"/>
+                            </bean>
+                        </list>
+                    </property>
                 </bean>
             </list>
         </property>


Mime
View raw message