[jboss-user] [JBoss Cache Users] - Re: how to lock a node for update?

manik.surtani@jboss.com do-not-reply at jboss.com
Wed Sep 23 12:50:19 EDT 2009


You can force write locks for a read.  There is an Option for this (see the Options API). When used with MVCC, this gives you an exclusive (write) lock, when when you are reading.  And when combined with a transaction, this means you hold the write lock until the tx completes.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256705#4256705

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256705



More information about the jboss-user mailing list