WebLogic Server 6.0 Code Examples, BEA Systems, Inc.

examples.jdbc.mssqlserver4
Class ReadingThread

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--examples.jdbc.mssqlserver4.ReadingThread
All Implemented Interfaces:
java.lang.Runnable

class ReadingThread
extends java.lang.Thread

The threads created by ThreadTests execute this class. You can change the SQL the threads execute by changing the argument to statement.executeQuery.

Author:
Copyright (c) 1998-2000 by BEA Systems, Inc. All Rights Reserved.

Field Summary
(package private)  java.sql.Connection connection
           
(package private)  boolean running
           
 
Fields inherited from class java.lang.Thread
inheritableThreadLocals, MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY, threadLocals
 
Constructor Summary
(package private) ReadingThread(java.sql.Connection connection)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Thread
, activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, 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

connection

java.sql.Connection connection

running

boolean running
Constructor Detail

ReadingThread

ReadingThread(java.sql.Connection connection)
Method Detail

run

public void run()
Overrides:
run in class java.lang.Thread

Documentation is available at
http://e-docs.bea.com/wls/docs60

Copyright © 2000 BEA Systems, Inc. All Rights Reserved.