Hi all there,

I'm trying to better understand how TreeCache works interally and so I've two 
questions.

Following scenario: 
- using GenericTransactionManagerLookup
- IsolationLevel is  REPEATABLE_READ
- CacheMode is LOCAL.
- Two Processes A and B.

1.      Process A starts a new Transaction.
2.      Process A calls  get(Object x)?.
3.      Process A modifies  Object x (e.g x.setAttribut(?abc?)).
4.      Process B calls  get(Object x). 
5.      Process A commits the Transaction.

Q.1.: I?m right Process B get?s an unmodified Object x?
Q.2.: So internally the get() method clones the Object x?

Thanks for any answer
Jochen


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

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


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to