Hi,
I am using following code to retrieve IgniteCache instance for "summaryCache"
and for writing into cache.
IgniteCache<String, Object> summaryCache = ignite.cache("summaryCache");
summaryCache.put("count",250);
<!-- -------------------------------------------Ignite
Configuration------------------------------------>
<bean id="ignite.cfg"
class="org.apache.ignite.configuration.IgniteConfiguration">
<property name="peerClassLoadingEnabled" value="true"/>
<property name="gridName" value="node1"/>
<property name="cacheConfiguration">
<list>
<ref bean="globalConfigurationCache"/>
<ref bean="summaryConfigurationCache"/>
</list>
</property>
</bean>
<!-- -------------------------------------------Cache
Configuration------------------------------------>
<bean id="summaryConfigurationCache"
class="org.apache.ignite.configuration.CacheConfiguration">
<property name="name" value="SummaryCache"/>
<property name="cacheStoreFactory">
<bean
class="javax.cache.configuration.FactoryBuilder$SingletonFactory">
<constructor-arg>
<bean class="com.cache.store.SummaryCacheStoreAdapter">
</bean>
</constructor-arg>
</bean>
</property>
<property name="readThrough" value="true"></property>
<property name="writeThrough" value="true"></property>
<property name="cacheMode" value="PARTITIONED"/>
</bean>
-----Original Message-----
From: vkulichenko [mailto:[email protected]]
Sent: 07 April 2016 01:41
To: [email protected]
Subject: RE: CacheStoreAdapter not getting called on cache operation.
Are you sure that you're updating the correct cache? Can you provide the code
example that reproduces the issue?
-Val
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/CacheStoreAdapter-not-getting-called-on-cache-operation-tp3974p3982.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.