db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Al Eridani <al.erid...@gmail.com>
Subject How does Derby service lock contention among multiple threads?
Date Tue, 15 Jan 2013 18:00:14 GMT
We have an application that has started to use Derby and we are
running into some lock timeouts.

When several threads are trying to acquire the same lock, how does
Derby decide which thread to service the next time the lock becomes

Is it using Java locks? Thread priority? Something else?

Am I better off increasing the timeout? Re-trying?

Pointers to documentation/code appreciated. Thanks!


View raw message