1
<?xml version="1.0" encoding="UTF-8"?>
20
<beans xmlns="http://www.springframework.org/schema/beans"
21
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22
xmlns:util="http://www.springframework.org/schema/util"
24
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
25
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">
30
<import resource="dsi-load-base.xml"/>
32
<bean class="org.apache.ignite.configuration.IgniteConfiguration" parent="grid.cfg">
33
<property name="userAttributes">
35
<entry key="segment" value="client"/>
39
<property name="cacheConfiguration">
41
<bean class="org.apache.ignite.configuration.CacheConfiguration">
42
<property name="name" value="REPLICATED_CACHE"/>
43
<property name="cacheMode" value="REPLICATED"/>
44
<property name="atomicityMode" value="TRANSACTIONAL"/>
45
<property name="rebalanceMode" value="NONE"/>
46
<property name="writeSynchronizationMode" value="FULL_SYNC"/>
47
<property name="swapEnabled" value="false"/>
49
<bean class="org.apache.ignite.configuration.CacheConfiguration">
50
<property name="name" value="CLIENT_PARTITIONED_CACHE"/>
51
<property name="cacheMode" value="PARTITIONED"/>
52
<property name="atomicityMode" value="TRANSACTIONAL"/>
53
<property name="rebalanceMode" value="SYNC"/>
54
<property name="writeSynchronizationMode" value="FULL_SYNC"/>
55
<property name="swapEnabled" value="false"/>
56
<property name="atomicSequenceReserveSize" value="100000"/>
62
<util:list id="lifecycleBeans">