Give a man a fish, he'll eat for one day. Teach a man to fish, he'll drink all your beer.
Cheers, Jeff (SCJP 1.4 all those years ago...)
SCJP, SCWCD, SCBCD, SCJD, BB Java2 and JSP1.1
SCJP, SCWCD, SCBCD, SCJD, BB Java2 and JSP1.1
"overcomplicated" orphaned deadlock prevention.
SCJP 1.4<br />SCJD 1.4 (in progress)
SCJP 1.4 - 83%, SCJD 360-90%,
ITeezy.com
SCJP, SCJD, SCWCD, SCBCD
SCJP 1.4 - 83%, SCJD 360-90%,
ITeezy.com
SCJP, SCJD, SCWCD, SCBCD
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
SCJP 1.4 - 83%, SCJD 360-90%,
ITeezy.com
SCJP 1.4 - 83%, SCJD 360-90%,
ITeezy.com
I'm sorry for the unlock method. I thought it was enough pseudo coded
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
I noticed that the lock method you presented does not throw the RecordNotFoundException (although the unlock method called another method that might have thrown this exception)
SCJP 1.4 - 83%, SCJD 360-90%,
ITeezy.com
Independent Consultant — Author, EJB 3 in Action — Expert Group Member, Java EE 6 and EJB 3.1
Did you employ a deadlock detection technique?
SCJP 1.4 - 83%, SCJD 360-90%,
ITeezy.com
SCJP 1.2<br />SCJD
i also get 58 on locking.
SCJP 1.4 - 83%, SCJD 360-90%,
ITeezy.com
SCJP 1.4 - 83%, SCJD 360-90%,
ITeezy.com
Originally posted by Matej Banik:
Reason is simple. I just wanted to exercise the tiger (1.5) locking functionality.
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Congrats!
SCJP 1.4 - 83%, SCJD 360-90%,
ITeezy.com
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
He was giving me directions and I was powerless to resist. I cannot resist this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|