ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dkarachentsev <dkarachent...@gridgain.com>
Subject Re: Affinity Key
Date Wed, 28 Dec 2016 09:31:24 GMT
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.

Mime
View raw message