This content has been marked as final.
Show 4 replies
-
1. Re: write lock
ben.wang Apr 22, 2005 11:44 AM (in response to robertointernet)You can use different isolation level such as READ_UNCOMMITTED. But it does not prevent dirty read though.
-Ben -
2. Re: write lock
belaban Apr 22, 2005 12:05 PM (in response to robertointernet)This is currently not really possible (unless you are willing to use READ_UNCOMMITTED).
This is on the roadmap though, in issue http://jira.jboss.com/jira/browse/JBCACHE-106. Here, you will be able to selectively override the method call, e.g. to not acquire any locks -
3. Re: write lock
robertointernet Apr 22, 2005 5:31 PM (in response to robertointernet)Would using treecacheaop make any difference? Can the lock only be applied to the attribute of the object we're actually modifying? Or is the lock always applied to the whole node where the object is located?
thanks for the quick replies
Roberto -
4. Re: write lock
ben.wang Apr 23, 2005 1:13 PM (in response to robertointernet)Lock is orthognal to cacheaop, per se. So it is still applied in the node level.
-Ben