edu.rice.cs.util
Class ReaderWriterLockTest.PrinterReaderThread

java.lang.Object
  extended by java.lang.Thread
      extended by edu.rice.cs.util.ReaderWriterLockTest.ReaderThread
          extended by edu.rice.cs.util.ReaderWriterLockTest.PrinterReaderThread
All Implemented Interfaces:
Runnable
Enclosing class:
ReaderWriterLockTest

public class ReaderWriterLockTest.PrinterReaderThread
extends ReaderWriterLockTest.ReaderThread

A ReaderThread which repeatedly prints to a buffer.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
(package private)  ReaderWriterLockTest.PrintCommand _command
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ReaderWriterLockTest.PrinterReaderThread(String msg, StringBuffer buf)
           
 
Method Summary
 void read()
           
 
Methods inherited from class edu.rice.cs.util.ReaderWriterLockTest.ReaderThread
run
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, 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

_command

ReaderWriterLockTest.PrintCommand _command
Constructor Detail

ReaderWriterLockTest.PrinterReaderThread

public ReaderWriterLockTest.PrinterReaderThread(String msg,
                                                StringBuffer buf)
Method Detail

read

public void read()
Specified by:
read in class ReaderWriterLockTest.ReaderThread