JavaScript is disabled on your browser.
java.lang.Object
java.lang.Thread
org.apache.derbyTesting.functionTests.tests.lang.UpdateStatisticsTest.IndexUpdateThread
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
UpdateStatisticsTest
private static class UpdateStatisticsTest.IndexUpdateThread
extends java.lang.Thread
A thread class that repeatedly calls SYSCS_UTIL.SYSCS_UPDATE_STATISTICS
until the flag done
is set to true. Any exception thrown during
the lifetime of the thread can be found in the field exception
.
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
Field Summary
Fields
Modifier and Type
Field and Description
private boolean
done
private java.lang.Exception
exception
private java.sql.CallableStatement
updateStats
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor Summary
Constructors
Modifier
Constructor and Description
private
IndexUpdateThread (java.sql.Connection c,
java.lang.String schema,
java.lang.String table,
java.lang.String index)
Method Summary
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, 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
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Constructor Detail
IndexUpdateThread
private IndexUpdateThread(java.sql.Connection c,
java.lang.String schema,
java.lang.String table,
java.lang.String index)
throws java.sql.SQLException
Throws:
java.sql.SQLException
Method Detail
run
public void run()
Specified by:
run
in interface java.lang.Runnable
Overrides:
run
in class java.lang.Thread
Built on Wed 2017-07-26 06:18:47+0000, from revision ???
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.