ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkulichenko <valentin.kuliche...@gmail.com>
Subject Re: Cache Updates Order
Date Wed, 24 Feb 2016 21:00:29 GMT
Hi Amit,

As a workaround I can suggest the following:

1. In CacheStore.write do not write to the database, but instead add the
key-value pair to some collection that is maintained on per session basis.
You can use CacheStoreSession.attachment() for this.
2. Implement your own CacheStoreSessionListener and write all pending
updates in onSessionEnd method in proper order.

Let me know if you questions.


View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Cache-Updates-Order-tp3133p3173.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

View raw message