I meant `datastore` cache of course )

Thanks,
S.

ср, 5 сент. 2018 г. в 19:04, Вячеслав Коптилин <slava.kopti...@gmail.com>:

> Hello,
>
> I just tried the configuration, you provided, and it works as expected.
> I mean that only `datasource` cache persists its own data.
> Please make sure you clean up working directory before testing.
>
> Thanks,
> S.
>
>
> вс, 2 сент. 2018 г. в 11:50, joseheitor <j...@heitorprojects.com>:
>
>> 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/
>>
>

Reply via email to