Hi Krzysztof!
You can do this via *AtomicConfiguration#setGroupName*. For example:
AtomicConfiguration cfg = new
AtomicConfiguration().setGroupName("atomicRefCacheGroup");
ignite.atomicReference("atomicRef", cfg, "initValue", true);
where "atomicRefCacheGroup" cache group that has your
DataRegionConfiguration.
1. https://apacheignite.readme.io/v2.3/docs/cache-groups
2. https://apacheignite.readme.io/v2.3/docs/data-structures
On Thu, Dec 7, 2017 at 2:49 PM, Krzysztof Chmielewski <
[email protected]> wrote:
> Hi all,
> I would like to ask, if there is a way to use custom
> DataRegionConfiguration
> (other than default) for storing IgniteAtomicReferences.
>
> I would like to use Ignite's 2.3 feature where I can turn on/off Persistent
> per Cache (via DataRegionConfiguration). I would like to enable persistent
> only for a few IgniteAtomiReferences.
>
> If we could set data region via AtomicConfiguration as we do for caches, or
> set different cache to store AtomicReference other than Ignite's system
> cache, this would be possible.
>
> Unfortunately AtomicConfiguration does not have this feature from what I
> see.
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>