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" xmlns:util="http://www.springframework.org/schema/util"
23
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
24
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">
29
<import resource="dsi-load-base.xml"/>
31
<bean class="org.apache.ignite.configuration.IgniteConfiguration" parent="grid.cfg">
32
<property name="userAttributes">
34
<entry key="segment" value="server"/>
38
<property name="cacheConfiguration">
40
<bean class="org.apache.ignite.configuration.CacheConfiguration">
41
<property name="name" value="REPLICATED_CACHE"/>
42
<property name="cacheMode" value="REPLICATED"/>
43
<property name="atomicityMode" value="TRANSACTIONAL"/>
44
<property name="rebalanceMode" value="NONE"/>
45
<property name="writeSynchronizationMode" value="FULL_SYNC"/>
46
<property name="swapEnabled" value="false"/>
48
<bean class="org.apache.ignite.configuration.CacheConfiguration">
49
<property name="name" value="PARTITIONED_CACHE"/>
50
<property name="cacheMode" value="PARTITIONED"/>
51
<property name="atomicityMode" value="TRANSACTIONAL"/>
52
<property name="rebalanceMode" value="SYNC"/>
53
<property name="writeSynchronizationMode" value="FULL_SYNC"/>
56
<property name="evictSynchronizedConcurrencyLevel" value="4"/>
57
<property name="evictSynchronized" value="false"/>
59
<property name="evictionPolicy">
60
<bean class="org.apache.ignite.cache.eviction.fifo.FifoEvictionPolicy">
61
<property name="maxSize" value="5000"/>
65
<property name="backups" value="1"/>
66
<property name="atomicSequenceReserveSize" value="100000"/>
67
<property name="swapEnabled" value="false"/>
68
<property name="defaultTxConcurrency" value="PESSIMISTIC"/>
69
<property name="defaultTxIsolation" value="REPEATABLE_READ"/>
70
<property name="dgcSuspectLockTimeout" value="60000"/>
71
<property name="nearConfiguration">
72
<bean class="org.apache.ignite.configuration.NearCacheConfiguration" />
79
<util:list id="lifecycleBeans">
80
<bean class="org.apache.ignite.loadtests.dsi.GridDsiLifecycleBean"/>