You should probably do this:
IgniteDataStreamer<String, ProductDetails> streamer =
ignite.dataStreamer(cacheName);
for (long i=1; i<= 100000; i++) {
ProductDetails phone = new ProductDetails("phone" + i);
//set other properties
streamer.addData(phone.getName(), phone);
} -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Loading-cache-with-DataStreamer-tp5421p5422.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.
