| java.lang.Object org.apache.derbyTesting.functionTests.tests.lang.deadlockMode
deadlockMode | public class deadlockMode (Code) | | This tests for deadlock which can occur if two threads get a
row lock before getting a table lock on the same table. This can
happen if the lock obtained by the insert, update or delete result set
is a smaller range than the table scan result set. The insert, update or
delete result set lock is obtained first. For example, if the insert, update
or delete result set obtain a row lock and then the table scan obtains a
table scan lock, deadlock can occur since two threads can obtain the row lock
and then both thread will want the same table lock.
|
verifyBoolean | static void verifyBoolean(boolean got, boolean expect) throws SQLException(Code) | | verify boolean value
|
verifyCount | static void verifyCount(int count, int expect) throws SQLException(Code) | | verify row count
|
|
|