Hi Denis,
I am struggling to get this properly configured for a persistent cache
(DATASTORE) and a non-persistent cache (SESSIONCACHE). Here is my config ...
(what am I doing wrong?):
<bean id="ignite.cfg"
class="org.apache.ignite.configuration.IgniteConfiguration">
<property name="dataStorageConfiguration">
<bean
class="org.apache.ignite.configuration.DataStorageConfiguration">
<property name="dataRegionConfigurations">
<list>
<bean
class="org.apache.ignite.configuration.DataRegionConfiguration">
<property name="name" value="Persistent_Region"/>
<property name="initialSize" value="#{100L * 1024 * 1024}"/>
<property name="maxSize" value="#{500L * 1024 * 1024}"/>
<property name="persistenceEnabled" value="true"/>
</bean>
</list>
</property>
</bean>
</property>
<property name="cacheConfiguration">
<list>
<bean
class="org.apache.ignite.configuration.CacheConfiguration">
<property name="dataRegionName" value="Persistent_Region"/>
<property name="name" value="DATASTORE"/>
</bean>
<bean
class="org.apache.ignite.configuration.CacheConfiguration">
<property name="name" value="SESSIONCACHE"/>
</bean>
</list>
</property>
...
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/