|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
net.sourceforge.jtds.test.PreparedStatementTest.TestMultiThread
static class PreparedStatementTest.TestMultiThread
Inner class used by PreparedStatementTest.testMultiThread() to
test concurrency.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
(package private) static java.sql.Connection |
con
|
(package private) static java.lang.Exception |
error
|
(package private) static int |
live
|
(package private) static int |
LOOP_MAX
|
(package private) static int |
ROWS_MAX
|
(package private) static int |
THREAD_MAX
|
(package private) int |
threadId
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
PreparedStatementTest.TestMultiThread(int n)
|
|
| Method Summary | |
|---|---|
void |
run()
|
(package private) static void |
startThreads(java.sql.Connection con)
|
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
static java.sql.Connection con
static final int THREAD_MAX
static final int LOOP_MAX
static final int ROWS_MAX
static int live
static java.lang.Exception error
int threadId
| Constructor Detail |
|---|
PreparedStatementTest.TestMultiThread(int n)
| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablerun in class java.lang.Thread
static void startThreads(java.sql.Connection con)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||