[infinispan-dev] keySet(), values() and entrySet() impl progress and some questions

Galder Zamarreno galder.zamarreno at redhat.com
Wed Jun 10 08:11:23 EDT 2009



Mircea Markus wrote:
> Galder Zamarreno wrote:
>> Hi all,
>>
>> I'm making good progress with 
>> https://jira.jboss.org/jira/browse/ISPN-94. I'm currently testing that 
>> with DIST mode, only local contents are returned.
>>
>> We had agreed that these operations should not be participating in 
>> transactions and I assume that this is so that locks are not acquired. 
>> From what I understand, to achieve this, CacheDelegate method 
>> implementation would need to pass a 
>> icc.createNonTxInvocationContext(), correct?
> yes. I've just seen that size() is not doing that (it is using 
> icc.createInvocationContext); as you're in the scope, can you please 
> amend that as well

For Size command, I've also seen that it reimplements visitSizeCommand 
in LockingInterceptor and TxInterceptor. I suppose I need to do the same 
for these commands as well?

-- 
Galder Zamarreño
Sr. Software Maintenance Engineer
JBoss, a division of Red Hat



More information about the infinispan-dev mailing list