[jboss-dev-forums] [Design of JBossCache] - Re: Distributed lock manager

manik.surtani@jboss.com do-not-reply at jboss.com
Mon Mar 12 15:17:47 EDT 2007


I'm not a fan of exposing locking behaviour so explicitly.  Internally, a sequence of calls like:


  | tx.begin();
  | cache.put("/session/123");
  | cache.put("/session/123/abc")
  | cache.put("/session/123/xyz")
  | tx.commit();
  | 

should result in a single distributed WL obtained during the first put and released at commit.  

I guess your reasoning is how do you deal with this if you don't want to use txs?

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

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



More information about the jboss-dev-forums mailing list