3 Replies Latest reply on Jan 9, 2007 10:45 AM by Manik Surtani

    Global lock question

    Himadri Saha Newbie

      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.