net.sourceforge.jtds.test
Class BatchTest.ConcurrentBatchingHelper

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--net.sourceforge.jtds.test.BatchTest.ConcurrentBatchingHelper
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
BatchTest

private class BatchTest.ConcurrentBatchingHelper
extends java.lang.Thread

Helper thread used by testConcurrentBatching() to execute a batch within a transaction that is then rolled back. Starting a couple of these threads concurrently should show whether there are any race conditions WRT preparation and execution in the batching implementation.


Fields inherited from class java.lang.Thread
contextClassLoader, daemon, eetop, group, inheritableThreadLocals, inheritedAccessControlContext, MAX_PRIORITY, MIN_PRIORITY, name, NORM_PRIORITY, priority, single_step, stillborn, stopThreadPermission, target, threadInitNumber, threadLocals, threadQ
 
Methods inherited from class java.lang.Thread
, activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, exit, getContextClassLoader, getName, getPriority, getThreadGroup, init, interrupt, interrupt0, interrupted, isAlive, isDaemon, isInterrupted, isInterrupted, join, join, join, nextThreadNum, registerNatives, resume, resume0, setContextClassLoader, setDaemon, setName, setPriority, setPriority0, sleep, sleep, start, stop, stop, stop0, suspend, suspend0, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 



Generated on August 22 2007