[jboss-user] [JBossCache] - Global lock question

hsaha do-not-reply at jboss.com
Thu Jan 4 16:05:38 EST 2007


Hi,
Is there any way to obtain a lock on a node for a cluster?
Ideally for a distributed global cache, i may want to lock a particular node for update. Is there a way to use the org.jboss.cache.lock package or any alternatives?

I understand that in 2 phase commit, the write-lock is obtained on transaction commit, but i would like to lock a node for update, then perform the update so that the changes are reflected globally.

An example for that could be global statistics in a cluster.

Regards,
Himadri

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

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



More information about the jboss-user mailing list