[infinispan-dev] First working version of lock/unlock API

Manik Surtani manik at jboss.org
Wed May 20 07:55:38 EDT 2009


On 19 May 2009, at 23:36, Vladimir Blagojevic wrote:

> On 5/19/09 7:29 PM, Jason T. Greene wrote:
>>
>> In other words, when using unlock with transactions, it is either a  
>> no-op, or it's wrong. IMO you guys should kill it ;)
>>
>
> You see! I was not the only one confused :)

LOL!

Hmm ... kill unlock() ... and always assume that the tx completion  
will clear locks.  Makes sense to me.  And if anything, makes the API  
easier to use.

Ok, let's go with this then.
--
Manik Surtani
manik at jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org







More information about the infinispan-dev mailing list