Originally posted by Arjan Broer:
... The lockManager implements lock(int record, Object client) and unlock(int, Object). The LockManager simply administers the locks by keeping track of the lock owners in a Map.
So when a client requests a lock it calls the LockManager. Then the LockManager locks the record in Data on behalf of the client.
Regards,
Hi Arjan,
I have implemented the same mechanism.
Did you already submitted your project to SUN?
Did you pass?
Kind regards
Jochen