Hi,
I haven below configuration and partitioned cache didn't distributed for all
the server nodes.
<bean id="expiryPolicy"
class="javax.cache.configuration.FactoryBuilder$SingletonFactory">
<constructor-arg>
<bean class="javax.cache.expiry.CreatedExpiryPolicy">
<constructor-arg>
<bean class="javax.cache.expiry.Duration">
<constructor-arg
type="java.util.concurrent.TimeUnit" value="MINUTES"/>
<constructor-arg value="1"/>
</bean>
</constructor-arg>
</bean>
</constructor-arg>
</bean>
<bean class="org.apache.ignite.configuration.CacheConfiguration">
<property name="name" value="service-work-cache"/>
<property name="cacheMode" value="PARTITIONED"/>
<property name="atomicityMode" value="ATOMIC"/>
<property name="expiryPolicyFactory">
<bean parent="expiryPolicy"/>
</property>
</bean>
Thanks,
Raja
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/