commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Zeigermann <oliver.zeigerm...@gmail.com>
Subject Re: [transaction.locking]Want to lock intervals
Date Wed, 06 Apr 2005 13:08:35 GMT
Locking a node will require locking of all ancestors as well. Not
quite sure of a read lock is sufficient of if you will need write
locking all ancestors when you write lock a node. However, this is not
specific to commons tx, but a more general question.

Oliver

On Apr 6, 2005 2:21 PM, Melanie.Bats@UTBM.fr <Melanie.Bats@utbm.fr> wrote:
> Hi,
> 
> Selon Oliver Zeigermann <oliver.zeigermann@gmail.com>:
> 
> > I suppose what you want is some sort of hierarchical lock? Like if a
> > parent is locked the children are locked as well? Is that true?
> 
> Yes it is something that looks like this.
> 
> Do you have some ideas that could help me to implement this ?
> 
> Thanks
> Mel
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message