HI All, I am not been able to post or reply On Tue, Jun 25, 2019 at 7:47 PM Ilya Kasnacheev <[email protected]> wrote:
> Hello! > > I did not try, but you can supply groupName in CollectionConfiguration, > and pre-start a cache in this groupName in required region so that all > caches belonging to that group will be stored there. > > Can you check? > > Regards, > -- > Ilya Kasnacheev > > > вт, 25 июн. 2019 г. в 09:17, dhiman_nikhil <[email protected]>: > >> While going through the below code, i found this issue. >> <code>Ignite ignite = Ignition.ignite(); >> >> // Non-colocated queue which will be distributed >> // across all data nodes. >> IgniteQueue<String> queue = ignite.queue("queueName", 20, new >> CollectionConfiguration()); >> >> // Add queue elements. >> for (int i = 0; i < 20; i++) >> queue.add("Value " + Integer.toString(i)); >> >> // Poll queue elements. >> for (int i = 0; i < 20; i++) >> System.out.println("Polled value: " + queue.poll());</code> >> >> How to make sure above code is bounded to specific data Region with >> persistence on for few data structure and off for few?? >> >> >> >> -- >> Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >> >
