[infinispan-dev] batching API and DummyTM

Mircea Markus mircea.markus at jboss.com
Tue Sep 14 06:29:51 EDT 2010


On 14 Sep 2010, at 11:25, Galder Zamarreño wrote:

> 
> On Sep 13, 2010, at 11:06 PM, Manik Surtani wrote:
> 
>> 
>> On 13 Sep 2010, at 19:26, Sanne Grinovero wrote:
>> 
>>> An important feature I'm missing when using batches but not using a
>>> transaction manager is the capability to eagerly lock keys, because
>>> there's no unlock.
>> 
>> This applies to regular JTA transactions as well as batching, correct?
> 
> As a side note, this goes back, slightly, to my original question on batching. 
> 
> Does batching (without a TM) make sense with eager locking?
batching always go with a TM under the hood. If user doesn't specify one then BatchModeTransactionManager is used (it implements DummyTM).
> With JTA, we know locks are released at commit time thanks to multi node coordination.
> 
> However, does multi node coordination happen when batching without TM is used? If not, eager locking does not make sense with batching.
> 
>> 
>> --
>> 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
> 
> 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev




More information about the infinispan-dev mailing list