You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by "alex.glau" <al...@gmail.com> on 2015/08/12 07:10:33 UTC

CollectionConfiguration.setCacheName()

Hi,

Ignite 1.0.0 included method CollectionConfiguration.setCacheName() that
disappear in version 1.3.0. What is its replace?

Regards,
Alex



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/CollectionConfiguration-setCacheName-tp918.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: CollectionConfiguration.setCacheName()

Posted by vkulichenko <va...@gmail.com>.
alex.glau wrote
> Ignite 1.0.0 included method CollectionConfiguration.setCacheName() that
> disappear in version 1.3.0. What is its replace?

Hi Alex,

It was removed in favor of dynamic caches. If your queue or set is
collocated, it will be stored in a special internal cache. Otherwise, a
separate internal cache will be automatically created for each data
structure you create.

Actually this change introduced a usability issue for collocated data
structures: there is no way to send a closure to a particular queue/set
because user is unaware of the system cache it's stored in. We already have
a ticket for this: https://issues.apache.org/jira/browse/IGNITE-1144

Are you using closure collocation?

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/CollectionConfiguration-setCacheName-tp918p919.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.