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"
23
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
25
<bean id="grid.cfg" class="org.apache.ignite.configuration.IgniteConfiguration">
26
<property name="peerClassLoadingEnabled" value="false"/>
28
<property name="cacheConfiguration">
29
<bean class="org.apache.ignite.configuration.CacheConfiguration">
30
<property name="name" value="default"/>
31
<property name="cacheMode" value="PARTITIONED"/>
32
<property name="rebalanceMode" value="SYNC"/>
33
<property name="writeSynchronizationMode" value="FULL_ASYNC"/>
35
<property name="evictionPolicy">
36
<bean class="org.apache.ignite.cache.eviction.fifo.FifoEvictionPolicy">
37
<property name="maxSize" value="20000000"/>
43
<property name="networkTimeout" value="10000"/>
45
<property name="discoverySpi">
46
<bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
47
<property name="networkTimeout" value="10000"/>
48
<property name="ackTimeout" value="10000"/>
49
<property name="reconnectCount" value="3"/>
50
<property name="ipFinder">
51
<bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder">
52
<property name="addresses">
54
<value>fosters-210:47500</value>
55
<value>fosters-211:47500</value>
56
<value>fosters-212:47500</value>