TestDeadlock
Test for deadlocks in the code, and test the deadlock detection mechanism.
| Methods |
| static void |
main(String... a)
Run just this test.
|
| static void |
main(String... a) throws Exception
Run just this test.
Parameters:
a - ignored
|
| void |
catchDeadlock(SQLException e)
Add the exception to the list of exceptions.
|
| void |
catchDeadlock(SQLException e)
Add the exception to the list of exceptions.
Parameters:
e - the exception
|
| void |
test()
|
| void |
test() throws Exception
|
| Fields |
| static Connection |
c1
|
| static Connection |
c2
|
| static Connection |
c3
|
c1
The first connection.
c2
The second connection.
c3
The third connection.