We should make a generic implementation of what Udo described here as part
of the Geode examples. It's such a frequently used pattern.

--
Mike Stolz
Principal Engineer - Gemfire Product Manager
Mobile: 631-835-4771
On Dec 29, 2016 9:54 AM, "Amit Pandey" <[email protected]> wrote:

> Hi All,
>
> A happy new year to all you in advance.
>
> I saw that in order to co locate different caches  you can use
> "colocated-with" attribute.
>
> However how does Spring or Geode determine (based on which attributes )
> that they will be collocated.  Lets say two regions containing Customer and
> Account needs to be collocated. I want to use the accountPK present in both
> classes for collocation and not on other attributes which might have the
> same name (to give an artificial example lets say there is a "status"
> attribute which is Y in both but which I dont want to be used for
> determining collocation.
>
> Any help on this will be greatly appreciated.
>
> Regards
>
>
>
>

Reply via email to