Hi Kamesh, I general you solution should work fine. I've not noted any issue in your code snippet.
Optionally, you may want try to reuse CacheLoadOnlyStoreAdapter. It should work faster than your implementation. There are no any special examples for CacheLoadOnlyStoreAdapter. However, you can refer to the following tests located in Ignite sources to see how it's used in practice -org.apache.ignite.cache.store.GridCacheLoadOnlyStoreAdapterSelfTest. In addition there was a discussion around this cache adapter on this user list: http://apache-ignite-users.70518.x6.nabble.com/Data-Loading-Performance-Issue-td1958.html#a2012 -- Denis -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Need-to-effect-cache-at-time-of-changes-made-in-database-tp2182p2197.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.
