You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by vkulichenko <va...@gmail.com> on 2016/08/11 20:00:39 UTC

Re: IgniteDataStreamer lose data in multithreading?

Hi,

Please properly subscribe to the mailing list so that the community can
receive email notifications for your messages. To subscribe, send empty
email to user-subscribe@ignite.apache.org and follow simple instructions in
the reply.

And please clarify the question. What is not working for you? What you mean
by losing the data?

Keep in mind that to guarantee that the data is in cache, you have to call
close() or flush() on the streamer after you call addData() for all your
entries. These are synchronous methods that wait for the data to be saved in
cache.

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/IgniteDataStreamer-lose-data-in-multithreading-tp6949p6992.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.