<div dir="ltr"><p dir="ltr"><br>
On 22 Jan 2014 16:10, "Pedro Ruivo" <<a href="mailto:pedro@infinispan.org" target="_blank">pedro@infinispan.org</a>> wrote:<br>
><br>
><br>
><br>
> On 01/22/2014 01:58 PM, Dan Berindei wrote:<br>
> ><br>
> ><br>
> > It would also require us to keep a Set<K> for each group, with the keys<br>
> > associated with that group. As such, I'm not sure it would be a lot<br>
> > easier to implement (correctly) than FineGrainedAtomicMap.<br>
> ><br>
> ><br>
><br>
> Dan, I didn't understand why do we need to keep a Set<K>. Can you<br>
> elaborate?</p>
<p dir="ltr"><br></p><p dir="ltr">We'd need some way to keep track of the keys that are part of the group, iterating over the entire cache for every getGroup() call would be way too slow.<br></p>
<p dir="ltr"><br>
</p>
</div>