But, is that what SUN wants me really to do? Or is that "beyond the scope"?
Andriy Pererva wrote:In my opinion, to avoid such lost locks it will be reasonable to implement timeout (for example, 5 sec.) for the time of lock holding. This means that if client didn't release the lock within specified timeout the operation should throw an exception and lock should be released by timeout.
Roel De Nijs wrote:Sounds you have done (high)way more than needed