public class st_derby715 extends BaseTest
| Modifier and Type | Class and Description |
|---|---|
static class |
st_derby715.t1 |
static class |
st_derby715.t2 |
| Modifier and Type | Field and Description |
|---|---|
(package private) static boolean |
verbose |
SPACE_INFO_ESTIMSPACESAVING, SPACE_INFO_IS_INDEX, SPACE_INFO_NUM_ALLOC, SPACE_INFO_NUM_FREE, SPACE_INFO_NUM_UNFILLED, SPACE_INFO_NUMCOLS, SPACE_INFO_PAGE_SIZE| Constructor and Description |
|---|
st_derby715() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] argv) |
private static int |
numlocks(java.sql.Connection conn)
Get the number of locks in the lock table
|
private static void |
setup()
Create the base table that the 2 threads will use.
|
void |
testList(java.sql.Connection conn) |
private static void |
waitForLocks(java.sql.Connection conn,
int num)
Wait for a specified number of locks before continuing
|
beginTest, checkAllConsistency, checkConsistency, createDebugSystemProcedures, createTable, endTest, executeQuery, get_lock_info, getSpaceInfo, log, logError, testProgress, total_pagesprivate static void setup()
throws java.lang.Exception
java.lang.Exceptionprivate static void waitForLocks(java.sql.Connection conn,
int num)
throws java.lang.InterruptedException,
java.sql.SQLException
conn - Connection to use for lock querynum - Number of locks to check forjava.lang.InterruptedExceptionjava.sql.SQLExceptionprivate static int numlocks(java.sql.Connection conn)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testList(java.sql.Connection conn)
throws java.sql.SQLException
public static void main(java.lang.String[] argv)
throws java.lang.Throwable
java.lang.ThrowableApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.