<div dir="ltr"><p dir="ltr"><br>
On 22 Jan 2014 16:10, &quot;Pedro Ruivo&quot; &lt;<a href="mailto:pedro@infinispan.org" target="_blank">pedro@infinispan.org</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On 01/22/2014 01:58 PM, Dan Berindei wrote:<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; It would also require us to keep a Set&lt;K&gt; for each group, with the keys<br>
&gt; &gt; associated with that group. As such, I&#39;m not sure it would be a lot<br>
&gt; &gt; easier to implement (correctly) than FineGrainedAtomicMap.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; Dan, I didn&#39;t understand why do we need to keep a Set&lt;K&gt;. Can you<br>
&gt; elaborate?</p>
<p dir="ltr"><br></p><p dir="ltr">We&#39;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>