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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...