1
<?xml version="1.0" encoding="UTF-8"?>
21
<beans xmlns="http://www.springframework.org/schema/beans"
22
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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">
28
Base Spring file for grid configuration.
31
<bean abstract="true" id="grid.cfg" class="org.apache.ignite.configuration.IgniteConfiguration">
32
<property name="localHost" value="127.0.0.1"/>
39
<property name="discoverySpi">
40
<bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
41
<property name="ipFinder">
42
<bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder">
43
<property name="addresses">
50
<value>127.0.0.1:47500</value>
51
<value>127.0.0.1:47501</value>
52
<value>127.0.0.1:47502</value>
53
<value>127.0.0.1:47503</value>
54
<value>127.0.0.1:47504</value>
55
<value>127.0.0.1:47505</value>
56
<value>127.0.0.1:47506</value>
57
<value>127.0.0.1:47507</value>
58
<value>127.0.0.1:47508</value>
59
<value>127.0.0.1:47509</value>
67
<property name="peerClassLoadingEnabled" value="false"/>
69
<property name="connectorConfiguration"><null/></property>
71
<property name="cacheConfiguration">
75
<property name="includeEventTypes">
79
<property name="deploymentMode" value="SHARED"/>
81
<property name="publicThreadPoolSize" value="#{T(java.lang.Runtime).getRuntime().availableProcessors() / 2}"/>
83
<property name="systemThreadPoolSize" value="#{T(java.lang.Runtime).getRuntime().availableProcessors() / 2}"/>
85
<property name="loadBalancingSpi">
86
<bean class="org.apache.ignite.spi.loadbalancing.roundrobin.RoundRobinLoadBalancingSpi">
87
<property name="perTask" value="false"/>