ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kamal C <kamaltar...@gmail.com>
Subject Affinity Collocation
Date Wed, 27 Apr 2016 04:02:49 GMT
Hi all,

    In the example provided for affinity collocation [1], how the keys
 of different caches gets collocate together ?

Say, there are two caches:
1. Person cache
2. Organization cache

While inserting the elements into Person cache, I've to use either the
annotation *AffinityKeyMapped *or* AffinityKey *to collocate the data
with the organization in the same node.

My question: We are not specifying any dependency such that person
cache depends on organization cache. There can be n number of caches
with same keys as organization cache. Then, How it works?

[1] https://apacheignite.readme.io/docs/affinity-collocation

--Kamal

Mime
View raw message