Hello, For asynchronous write to persistent storage you can to use Write-Behind flag (CacheConfiguration.setWriteBehindEnabled(boolean)).[1] If you using write-through write will be directly after accure modification operation over cache. Asynchronous cache not help for that case, it using for getting result through feature.[2]
[1]: https://apacheignite.readme.io/docs/persistent-store#write-behind-caching [2]: https://apacheignite.readme.io/docs/async-support deleerhai wrote > Hi, > Why asynchronous cache batch write data can not be asynchronous, please > help me. > > 1,Start a transaction, call the addAll method. <http://apache-ignite-users.70518.x6.nabble.com/file/n5638/11.png> > > 2,Gets an asynchronous cache and writes data to the cache. <http://apache-ignite-users.70518.x6.nabble.com/file/n5638/22.png> > > 3,Triggers the writeAll method of CacheStore, persistent storage. <http://apache-ignite-users.70518.x6.nabble.com/file/n5638/33.png> > > 4,Print execution process.The same thread execution, not asynchronous > execution. <http://apache-ignite-users.70518.x6.nabble.com/file/n5638/threadid.png> > > I want asynchronous execution of persistent storage, can you do it? > Please help me.Thank you very much! -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Asynchronous-cache-batch-write-data-can-not-be-asynchronous-execution-tp5638p5660.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.
