ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkulichenko <valentin.kuliche...@gmail.com>
Subject Re: CacheStore being serialized to client?
Date Wed, 11 Nov 2015 18:57:57 GMT

Yes this is correct. The whole cache configuration is serialized and sent to
newly joined nodes (including clients). Also if you're using TRANSACTIONAL
cache, the store will be called on the client node to maintain DB
transaction along with the cache transaction.

Note that the configuration contains store factory, so the store itself
doesn't have to be serializable. For example, you can use ClassFactory to
avoid store serialization:

<bean class="org.apache.ignite.configuration.CacheConfiguration">
  <property name="cacheStoreFactory">
    <bean class="javax.cache.configuration.FactoryBuilder$ClassFactory">

Makes sense?


View this message in context: http://apache-ignite-users.70518.x6.nabble.com/CacheStore-being-serialized-to-client-tp1931p1934.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

View raw message