Hi Tejas,

You may do the following:

cache1.put(eqID, value1); or cache1.put(new AffinityKey<>(pk0, eqID),
value2);
cache2.put(new AffinityKey<>(pk, eqID), value2);

In that case keys in Cache 2 will be collocated with keys in Cache 1.



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

Reply via email to