You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by nikhil dhiman <ni...@gmail.com> on 2019/07/02 05:15:28 UTC

Re: Why datastructure are not dataRegion bounded

HI All, I am not been able to post or reply

On Tue, Jun 25, 2019 at 7:47 PM Ilya Kasnacheev <il...@gmail.com>
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 <ni...@gmail.com>:
>
>> 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/
>>
>

Re: Why datastructure are not dataRegion bounded

Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!

Nabble is a purely auxiliary addition to mailing list, you can skip it
altogether.

Regards,
-- 
Ilya Kasnacheev


вт, 2 июл. 2019 г. в 14:28, nikhil dhiman <ni...@gmail.com>:

> I am replying via mail, not working via site
>
> On Tue, Jul 2, 2019, 3:45 PM Ilya Kasnacheev <il...@gmail.com>
> wrote:
>
>> Hello!
>>
>> Well, I can see your message, meaning you probably are.
>>
>> Regards,
>> --
>> Ilya Kasnacheev
>>
>>
>> вт, 2 июл. 2019 г. в 08:15, nikhil dhiman <ni...@gmail.com>:
>>
>>> HI All, I am not been able to post or reply
>>>
>>> On Tue, Jun 25, 2019 at 7:47 PM Ilya Kasnacheev <
>>> ilya.kasnacheev@gmail.com> 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 <ni...@gmail.com>:
>>>>
>>>>> 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/
>>>>>
>>>>

Re: Why datastructure are not dataRegion bounded

Posted by nikhil dhiman <ni...@gmail.com>.
I am replying via mail, not working via site

On Tue, Jul 2, 2019, 3:45 PM Ilya Kasnacheev <il...@gmail.com>
wrote:

> Hello!
>
> Well, I can see your message, meaning you probably are.
>
> Regards,
> --
> Ilya Kasnacheev
>
>
> вт, 2 июл. 2019 г. в 08:15, nikhil dhiman <ni...@gmail.com>:
>
>> HI All, I am not been able to post or reply
>>
>> On Tue, Jun 25, 2019 at 7:47 PM Ilya Kasnacheev <
>> ilya.kasnacheev@gmail.com> 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 <ni...@gmail.com>:
>>>
>>>> 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/
>>>>
>>>

Re: Why datastructure are not dataRegion bounded

Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!

Well, I can see your message, meaning you probably are.

Regards,
-- 
Ilya Kasnacheev


вт, 2 июл. 2019 г. в 08:15, nikhil dhiman <ni...@gmail.com>:

> HI All, I am not been able to post or reply
>
> On Tue, Jun 25, 2019 at 7:47 PM Ilya Kasnacheev <il...@gmail.com>
> 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 <ni...@gmail.com>:
>>
>>> 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/
>>>
>>