ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Goncharuk <alexey.goncha...@gmail.com>
Subject Re: Loading cache with DataStreamer
Date Sun, 05 Jun 2016 06:07:33 GMT
Note that IgniteDataStreamer implements AutoCloseable, so the code in the
example you are referring to is correct because data streamer is used in
try-with-resources block. It is not required to call flush() before calling
close() because close() will flush the data automatically.‚Äč

View raw message