GG-9469 - Portable mode in store
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/6f71e96f Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/6f71e96f Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/6f71e96f Branch: refs/heads/master Commit: 6f71e96f89491ba655f777bb8a70f6de51c1b57b Parents: 73528bb Author: Valentin Kulichenko <vkuliche...@gridgain.com> Authored: Thu Dec 11 16:53:34 2014 +0300 Committer: Valentin Kulichenko <vkuliche...@gridgain.com> Committed: Thu Dec 11 16:53:34 2014 +0300 ---------------------------------------------------------------------- examples/config/example-cache.xml | 71 ---------------------------------- 1 file changed, 71 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/6f71e96f/examples/config/example-cache.xml ---------------------------------------------------------------------- diff --git a/examples/config/example-cache.xml b/examples/config/example-cache.xml index b3b6877..be192f5 100644 --- a/examples/config/example-cache.xml +++ b/examples/config/example-cache.xml @@ -68,77 +68,6 @@ <property name="backups" value="1"/> </bean> - <!-- - Partitioned cache example configuration with portable objects enabled (Atomic mode). - Used in .NET, C++ and Java client examples that are available only in - enterprise edition. - --> - <bean parent="cache-template"> - <property name="name" value="partitioned_portable"/> - <property name="cacheMode" value="PARTITIONED"/> - <property name="atomicityMode" value="ATOMIC"/> - <property name="distributionMode" value="PARTITIONED_ONLY"/> - <property name="backups" value="1"/> - <property name="portableEnabled" value="true"/> - <property name="queryConfiguration"> - <bean class="org.gridgain.grid.cache.query.GridCacheQueryConfiguration"> - <property name="typeMetadata"> - <list> - <bean class="org.gridgain.grid.cache.query.GridCacheQueryTypeMetadata"> - <property name="type" value="Organization"/> - <property name="ascendingFields"> - <map> - <entry key="name" value="java.lang.String"/> - </map> - </property> - </bean> - <bean class="org.gridgain.grid.cache.query.GridCacheQueryTypeMetadata"> - <property name="type" value="EmployeeKey"/> - <property name="ascendingFields"> - <map> - <entry key="organizationId" value="java.lang.Integer"/> - </map> - </property> - </bean> - <bean class="org.gridgain.grid.cache.query.GridCacheQueryTypeMetadata"> - <property name="type" value="Employee"/> - <property name="ascendingFields"> - <map> - <entry key="address.zip" value="java.lang.Integer"/> - </map> - </property> - <property name="queryFields"> - <map> - <entry key="name" value="java.lang.String"/> - <entry key="salary" value="java.lang.Long"/> - </map> - </property> - <property name="textFields"> - <list> - <value>address.street</value> - </list> - </property> - </bean> - </list> - </property> - </bean> - </property> - </bean> - - <!-- - Partitioned cache example configuration with portable objects enabled (Transactional mode). - Used in .NET, C++ and Java client examples that are available only in - enterprise edition. - --> - <bean parent="cache-template"> - <property name="name" value="partitioned_portable_tx"/> - <property name="cacheMode" value="PARTITIONED"/> - <property name="atomicityMode" value="TRANSACTIONAL"/> - <property name="distributionMode" value="NEAR_PARTITIONED"/> - <property name="backups" value="1"/> - <property name="portableEnabled" value="true"/> - </bean> - <!-- Replicated cache example configuration (Atomic mode). --> <bean parent="cache-template"> <property name="name" value="replicated"/>