[infinispan-dev] 3 nodes problem

Galder Zamarreno galder.zamarreno at redhat.com
Mon Sep 28 06:02:10 EDT 2009



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 at jboss.org
> Lead, Infinispan
> Lead, JBoss Cache
> http://www.infinispan.org
> http://www.jbosscache.org
>
>
>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

-- 
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache


More information about the infinispan-dev mailing list