ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkulichenko <valentin.kuliche...@gmail.com>
Subject Re: Flush the cache into the persistence store manually
Date Mon, 23 May 2016 10:20:52 GMT
If write-though is used, there is no need to do this, because each update
will be propagated to the cache store synchronously.
In case of write-behind there is no way to flush the data manually, but it
will be flushed eventually.

Also, as we discussed in the chat, since you're going to clean the cache
each time you flush it, you can simply iterate through the cache and write
to the DB manually, bypassing the cache store.

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Flush-the-cache-into-the-persistence-store-manually-tp5077p5093.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message