Hi Oliver,
Oliver Zeigermann wrote:
Folks,
I am currently having a hard time to understand the different implementations of TransactionIsolation machting the different isolation levels.
Maybe they are obvious, but I am just not smart enough.
I also was wondering why TimeoutStrategy does not use Object#wait to wait on a Object#notify upon release. Is this just a matter of taste or is there anything that requires to use Thread#sleep?
The OTM layer is alpha state, so there will be much of "unchecked" code. Currently nobody works on OTM and for OJB 1.1 we try to move most services (e.g. locking,...) to the kernel (org.apache.broker.*). You could find the "old moved" locking version in org.apache.broker.locking.*
This version (used by odmg-api) isn't as smart as the OTM version (any help to include the LockWaitStrategy from OTM is appreciated ;-)).
I haven't think much about #sleep versus #wait but I think using #wait will be more efficiently.
regards, Armin
Anyway, any hints are greatly appreciated.
Oliver
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
