This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I've made my Data-class and my locking is done. I also have multithreadtest-class that generates requests. I have a problem. How to verify that everything is going like it should be?
I outputs all locks, unlocks, create...
I've run it with 100 clients, 10 records, 400 hits per client and everything is going smoothly. (no deadlocks, no exceptions)
SCJP 5.0, SCJD URLyBird 1.3.3, OCMJEA 5 (SCEA) Factory Homes
You can also try my UB test, but from what I understand you already have something that outputs every step, so this is maybe quite similar. What you can do is run it with a big amount of threads and records and see if the database is still valid at the end.
I think there are also some other multithreaded tests around, so try a search and see what you can find.