edu.unima.ky.parallel
Class ExRWReader

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--edu.unima.ky.parallel.ExRWReader
All Implemented Interfaces:
java.lang.Runnable

class ExRWReader
extends java.lang.Thread

reader's work


Field Summary
(package private)  edu.unima.ky.parallel.ExRWDataBase database
           
(package private)  int id
           
(package private)  int max
           
(package private)  java.io.PrintWriter out
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ExRWReader(edu.unima.ky.parallel.ExRWDataBase db, int i, int m, java.io.PrintWriter o)
           
 
Method Summary
(package private) static void doSomeWork(double t)
           
 void run()
          performs repetitive reading
 
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

database

edu.unima.ky.parallel.ExRWDataBase database

id

int id

max

int max

out

java.io.PrintWriter out
Constructor Detail

ExRWReader

public ExRWReader(edu.unima.ky.parallel.ExRWDataBase db,
                  int i,
                  int m,
                  java.io.PrintWriter o)
Method Detail

run

public void run()
performs repetitive reading

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

doSomeWork

static void doSomeWork(double t)