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

    Global lock question

    hsaha

      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