Searched refs:threadPool (Results 1 – 2 of 2) sorted by relevance
45 private ThreadPool threadPool; field in MultiThreadAccessTest57 threadPool = new ThreadPool(numThreads); in setUp()61 threadPool.join(); in tearDown()122 threadPool.runTask(createTask1(i)); in test_MultipleAccessToOneTable()134 threadPool.runTask(createTask1(1)); in test_MultipleAccessToSeveralTables()135 threadPool.runTask(createTask2(2)); in test_MultipleAccessToSeveralTables()136 threadPool.runTask(createTask3(3)); in test_MultipleAccessToSeveralTables()148 threadPool.runTask(createTask4(id1)); in test_MultipleOperationsInSeveralTables()151 threadPool.runTask(createTask5(id2)); in test_MultipleOperationsInSeveralTables()155 threadPool.runTask(createTask6(oldID, newID)); in test_MultipleOperationsInSeveralTables()[all …]
137 ThreadPool threadPool = new ThreadPool(numTasks); in testManyConnectionsUsingManyThreads() local141 threadPool.runTask(createTask(i)); in testManyConnectionsUsingManyThreads()144 threadPool.join(); in testManyConnectionsUsingManyThreads()214 ThreadPool threadPool = new ThreadPool(numConnections); in testInsertOfManyRowsUsingManyThreads() local218 threadPool.runTask(insertTask(numConnections, i)); in testInsertOfManyRowsUsingManyThreads()221 threadPool.join(); in testInsertOfManyRowsUsingManyThreads()