public abstract class T_MultiThreadedIterations extends T_MultiIterations implements java.lang.Runnable
Statistics are provided about each iteration in the error log. The statistics are time for each iteration, used and total memory changes per iteration.
T_Generic
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.Throwable |
error |
(package private) static boolean |
inError |
(package private) static int |
iterations |
(package private) static int |
numThreads |
(package private) static T_MultiThreadedIterations[] |
TestObjects |
(package private) static java.lang.Thread[] |
TestThreads |
protected int |
threadNumber |
out, shortModuleToTestName, startParams
Modifier | Constructor and Description |
---|---|
protected |
T_MultiThreadedIterations() |
Modifier and Type | Method and Description |
---|---|
protected int |
getNumThreads() |
protected abstract void |
joinSetupTest() |
protected abstract T_MultiThreadedIterations |
newTestObject() |
void |
run() |
protected void |
runTests()
Run the test.
|
runTestSet, setupTest
boot, Execute, FAIL, getModuleToTestProtocolName, PASS, REPORT, stop, UnitTestDuration, UnitTestType
protected int threadNumber
static volatile boolean inError
static int numThreads
static int iterations
java.lang.Throwable error
static java.lang.Thread[] TestThreads
static T_MultiThreadedIterations[] TestObjects
protected void runTests() throws T_Fail
runTests
in class T_MultiIterations
T_Fail
- Test code throws thesepublic void run()
run
in interface java.lang.Runnable
protected abstract T_MultiThreadedIterations newTestObject()
protected int getNumThreads()
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.