1
<?xml version="1.0" encoding="UTF-8"?>
29
<beans xmlns="http://www.springframework.org/schema/beans"
30
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
31
xmlns:util="http://www.springframework.org/schema/util"
33
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
34
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">
39
Spring file for grid configuration with benchmark.
49
<bean id="grid.cfg" class="org.apache.ignite.configuration.IgniteConfiguration">
50
<property name="deploymentMode" value="CONTINUOUS"/>
53
<property name="localHost" value="127.0.0.1"/>
55
<property name="cacheConfiguration">
62
<bean class="org.apache.ignite.configuration.CacheConfiguration">
63
<property name="name" value="partitioned1"/>
65
<property name="cacheMode" value="PARTITIONED"/>
67
<property name="atomicityMode" value="TRANSACTIONAL"/>
69
<property name="writeSynchronizationMode" value="FULL_SYNC"/>
71
<property name="rebalanceMode" value="SYNC"/>
73
<property name="onheapCacheEnabled" value="true"/>
75
<property name="evictionPolicy">
76
<bean class="org.apache.ignite.cache.eviction.lru.LruEvictionPolicy">
77
<property name="maxSize" value="100"/>
81
<property name="backups" value="1"/>
84
<bean class="org.apache.ignite.configuration.CacheConfiguration">
85
<property name="name" value="partitioned2"/>
87
<property name="cacheMode" value="PARTITIONED"/>
89
<property name="atomicityMode" value="TRANSACTIONAL"/>
91
<property name="writeSynchronizationMode" value="FULL_SYNC"/>
93
<property name="rebalanceMode" value="SYNC"/>
95
<property name="onheapCacheEnabled" value="true"/>
97
<property name="evictionPolicy">
98
<bean class="org.apache.ignite.cache.eviction.lru.LruEvictionPolicy">
99
<property name="maxSize" value="100"/>
103
<property name="backups" value="1"/>
106
<bean class="org.apache.ignite.configuration.CacheConfiguration">
107
<property name="name" value="partitioned3"/>
109
<property name="cacheMode" value="PARTITIONED"/>
111
<property name="atomicityMode" value="TRANSACTIONAL"/>
113
<property name="writeSynchronizationMode" value="FULL_SYNC"/>
115
<property name="rebalanceMode" value="SYNC"/>
117
<property name="onheapCacheEnabled" value="true"/>
119
<property name="evictionPolicy">
120
<bean class="org.apache.ignite.cache.eviction.lru.LruEvictionPolicy">
121
<property name="maxSize" value="100"/>
125
<property name="backups" value="1"/>
128
<bean class="org.apache.ignite.configuration.CacheConfiguration">
129
<property name="name" value="partitioned4"/>
131
<property name="cacheMode" value="PARTITIONED"/>
133
<property name="atomicityMode" value="TRANSACTIONAL"/>
135
<property name="writeSynchronizationMode" value="FULL_SYNC"/>
137
<property name="rebalanceMode" value="SYNC"/>
139
<property name="onheapCacheEnabled" value="true"/>
141
<property name="evictionPolicy">
142
<bean class="org.apache.ignite.cache.eviction.lru.LruEvictionPolicy">
143
<property name="maxSize" value="100"/>
147
<property name="backups" value="1"/>
150
<bean class="org.apache.ignite.configuration.CacheConfiguration">
151
<property name="name" value="partitioned5"/>
153
<property name="cacheMode" value="PARTITIONED"/>
155
<property name="atomicityMode" value="TRANSACTIONAL"/>
157
<property name="writeSynchronizationMode" value="FULL_SYNC"/>
159
<property name="rebalanceMode" value="SYNC"/>
161
<property name="onheapCacheEnabled" value="true"/>
163
<property name="evictionPolicy">
164
<bean class="org.apache.ignite.cache.eviction.lru.LruEvictionPolicy">
165
<property name="maxSize" value="100"/>
169
<property name="backups" value="1"/>
172
<bean class="org.apache.ignite.configuration.CacheConfiguration">
173
<property name="name" value="partitioned6"/>
175
<property name="cacheMode" value="PARTITIONED"/>
177
<property name="atomicityMode" value="TRANSACTIONAL"/>
179
<property name="writeSynchronizationMode" value="FULL_SYNC"/>
181
<property name="rebalanceMode" value="SYNC"/>
183
<property name="onheapCacheEnabled" value="true"/>
185
<property name="evictionPolicy">
186
<bean class="org.apache.ignite.cache.eviction.lru.LruEvictionPolicy">
187
<property name="maxSize" value="100"/>
191
<property name="backups" value="1"/>
194
<bean class="org.apache.ignite.configuration.CacheConfiguration">
195
<property name="name" value="partitioned7"/>
197
<property name="cacheMode" value="PARTITIONED"/>
199
<property name="atomicityMode" value="TRANSACTIONAL"/>
201
<property name="writeSynchronizationMode" value="FULL_SYNC"/>
203
<property name="rebalanceMode" value="SYNC"/>
205
<property name="onheapCacheEnabled" value="true"/>
207
<property name="evictionPolicy">
208
<bean class="org.apache.ignite.cache.eviction.lru.LruEvictionPolicy">
209
<property name="maxSize" value="100"/>
213
<property name="backups" value="1"/>
216
<bean class="org.apache.ignite.configuration.CacheConfiguration">
217
<property name="name" value="partitioned8"/>
219
<property name="cacheMode" value="PARTITIONED"/>
221
<property name="atomicityMode" value="TRANSACTIONAL"/>
223
<property name="writeSynchronizationMode" value="FULL_SYNC"/>
225
<property name="rebalanceMode" value="SYNC"/>
227
<property name="onheapCacheEnabled" value="true"/>
229
<property name="evictionPolicy">
230
<bean class="org.apache.ignite.cache.eviction.lru.LruEvictionPolicy">
231
<property name="maxSize" value="100"/>
235
<property name="backups" value="1"/>
246
<property name="discoverySpi">
247
<bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
248
<property name="ipFinder">
249
<bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder">
250
<property name="addresses">
257
<value>127.0.0.1:47500</value>
258
<value>127.0.0.1:47501</value>
259
<value>127.0.0.1:47502</value>
260
<value>127.0.0.1:47503</value>
261
<value>127.0.0.1:47504</value>
262
<value>127.0.0.1:47505</value>
263
<value>127.0.0.1:47506</value>
264
<value>127.0.0.1:47507</value>
265
<value>127.0.0.1:47508</value>
266
<value>127.0.0.1:47509</value>
279
<property name="publicThreadPoolSize" value="10"/>
286
<property name="systemThreadPoolSize" value="10"/>
293
<property name="peerClassLoadingThreadPoolSize" value="2"/>