To specify a configuration parameter in the XML config you need to put the
names of the properties in the <property> tags, like this:
<beans xmlns="http://www.springframework.org/schema/beans";
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       xmlns:util="http://www.springframework.org/schema/util";
       xsi:schemaLocation="
        http://www.springframework.org/schema/beans
        http://www.springframework.org/schema/beans/spring-beans.xsd
        http://www.springframework.org/schema/util
        http://www.springframework.org/schema/util/spring-util.xsd";>
    <bean id="ignite.cfg"
class="org.apache.ignite.configuration.IgniteConfiguration">
        <property name="segmentationPolicy" value="STOP"/>

        <property name="segmentCheckFrequency" value="10000"/>

        <property name="segmentationResolveAttempts" value="5"/>

        ...
    </bean>
</beans>

IgniteConfiguration class has a method
IgniteConfiguration.setSegmentationPolicy() - this means that you can use
<property name="segmentationPolicy" value="XXX"/> in the XML.

Once again, note that these settings have little effect in the Apache Ignite
without third-party extensions.

Stan



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to