QJCC homepage

biz.chitec.qdemo.util
Class RowLockDemo.RowLockTestThread

java.lang.Object
  extended byjava.lang.Thread
      extended bybiz.chitec.qdemo.util.RowLockDemo.RowLockTestThread
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
RowLockDemo

private static class RowLockDemo.RowLockTestThread
extends java.lang.Thread

Description of the Class

Author:
dh

Field Summary
private static int concurrentnum
           
private  java.sql.Connection conn
           
private  ConsoleWrapper cw
           
private  int maxnr
           
private  int row
           
private  java.sql.Statement stmt
           
private  java.lang.String table
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
RowLockDemo.RowLockTestThread(java.lang.String dburl, java.lang.String t, int r, int mxn, ConsoleWrapper cwx)
          Constructor for the RowLockTestThread object
 
Method Summary
 void run()
          Main processing method for the RowLockTestThread object
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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

concurrentnum

private static int concurrentnum

conn

private java.sql.Connection conn

stmt

private java.sql.Statement stmt

table

private java.lang.String table

row

private int row

maxnr

private int maxnr

cw

private ConsoleWrapper cw
Constructor Detail

RowLockDemo.RowLockTestThread

public RowLockDemo.RowLockTestThread(java.lang.String dburl,
                                     java.lang.String t,
                                     int r,
                                     int mxn,
                                     ConsoleWrapper cwx)
                              throws java.sql.SQLException
Constructor for the RowLockTestThread object

Parameters:
dburl - Description of the Parameter
t - Description of the Parameter
r - Description of the Parameter
mxn - Description of the Parameter
cwx - Description of the Parameter
Throws:
java.sql.SQLException - Description of the Exception
Method Detail

run

public void run()
Main processing method for the RowLockTestThread object


QJCC homepage