On 09/24/2009 06:04 PM, Manik Surtani wrote:
On 24 Sep 2009, at 16:59, Manik Surtani wrote:
>
<SNIP />
>>
>
> Yes you can suppress the remote get with a flag, but lets first think
> about why we need a remote get at all for PutMapCommand. We need it
> for PutKeyValueCommand since we return the old value. We need it for
> RemoveCommand since we return the old value. Etc. But for
> PutMapCommand?!? Hmm...
Yeah the more I think about it, doing a remote get for PutMapCommand
is utterly unnecessary.
https://jira.jboss.org/jira/browse/ISPN-197
Indeed, the putAll method's signature is:
void putAll(Map<? extends K, ? extends V> t);
So, no need to return old value
Cheers
--
Manik Surtani
manik(a)jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
Galder ZamarreƱo
Sr. Software Engineer
Infinispan, JBoss Cache