1
<?xml version="1.0" encoding="UTF-8"?>
23
<beans xmlns="http://www.springframework.org/schema/beans"
24
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25
xmlns:util="http://www.springframework.org/schema/util"
27
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
28
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">
29
<bean id="grid.cfg" class="org.apache.ignite.configuration.IgniteConfiguration">
30
<property name="localHost" value="127.0.0.1"/>
32
<property name="cacheConfiguration">
34
<bean class="org.apache.ignite.configuration.CacheConfiguration">
35
<property name="name" value="local"/>
37
<property name="cacheMode" value="REPLICATED"/>
39
<property name="swapEnabled" value="false"/>
41
<property name="writeSynchronizationMode" value="FULL_ASYNC"/>
46
<property name="connectorConfiguration"><null/></property>
48
<property name="includeEventTypes">
50
<util:constant static-field="org.apache.ignite.events.EventType.EVT_TASK_FAILED"/>
51
<util:constant static-field="org.apache.ignite.events.EventType.EVT_TASK_FINISHED"/>
52
<util:constant static-field="org.apache.ignite.events.EventType.EVT_JOB_MAPPED"/>
55
<property name="includeProperties"><list/></property>
57
<property name="discoverySpi">
58
<bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
59
<property name="ipFinder">
60
<bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder">
61
<property name="addresses">
63
<value>127.0.0.1:47500</value>
64
<value>127.0.0.1:47501</value>
65
<value>127.0.0.1:47502</value>