Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.hsqldb.test
Class JDBCBench.ClientThread  view JDBCBench.ClientThread download JDBCBench.ClientThread.java

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.hsqldb.test.JDBCBench.ClientThread
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
JDBCBench

class JDBCBench.ClientThread
extends java.lang.Thread


Nested Class Summary
 
Nested classes inherited from class java.lang.Thread
java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
(package private)  java.sql.Connection Conn
           
(package private)  int ntrans
           
(package private)  java.sql.PreparedStatement pstmt1
           
(package private)  java.sql.PreparedStatement pstmt2
           
(package private)  java.sql.PreparedStatement pstmt3
           
(package private)  java.sql.PreparedStatement pstmt4
           
(package private)  java.sql.PreparedStatement pstmt5
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
JDBCBench.ClientThread(int number_of_txns, java.lang.String url, java.lang.String user, java.lang.String password)
           
 
Method Summary
(package private)  int doOne(int bid, int tid, int aid, int delta)
           
 void run()
          The method of Thread that will be run if there is no Runnable object associated with the Thread.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ntrans

int ntrans

Conn

java.sql.Connection Conn

pstmt1

java.sql.PreparedStatement pstmt1

pstmt2

java.sql.PreparedStatement pstmt2

pstmt3

java.sql.PreparedStatement pstmt3

pstmt4

java.sql.PreparedStatement pstmt4

pstmt5

java.sql.PreparedStatement pstmt5
Constructor Detail

JDBCBench.ClientThread

public JDBCBench.ClientThread(int number_of_txns,
                              java.lang.String url,
                              java.lang.String user,
                              java.lang.String password)
Method Detail

run

public void run()
Description copied from class: java.lang.Thread
The method of Thread that will be run if there is no Runnable object associated with the Thread. Thread's implementation does nothing at all.


doOne

int doOne(int bid,
          int tid,
          int aid,
          int delta)