You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Mike Wiesenberg <mw...@gmail.com> on 2022/08/01 18:11:56 UTC

Which cacheKeyConfiguration

Hi
 I'm wondering why there are CacheKeyConfiguration setters on both the
IgniteConfiguration and the CacheConfiguration classes. Looking briefly at
the code, they seem to be used differently but I can't decipher the intent.

Thanks
 Mike

Re: Which cacheKeyConfiguration

Posted by Pavel Tupitsyn <pt...@apache.org>.
The intent is the same - to define an affinity key for a given type.
IgniteConfiguration does it globally, CacheConfiguration just for a
specific cache.

On Mon, Aug 1, 2022 at 9:12 PM Mike Wiesenberg <mw...@gmail.com>
wrote:

>
> Hi
>  I'm wondering why there are CacheKeyConfiguration setters on both the
> IgniteConfiguration and the CacheConfiguration classes. Looking briefly at
> the code, they seem to be used differently but I can't decipher the intent.
>
> Thanks
>  Mike
>