daikon
Class Daikon.FileIOProgress

Object
  extended by Thread
      extended by Daikon.FileIOProgress
All Implemented Interfaces:
Runnable
Enclosing class:
Daikon

public static class Daikon.FileIOProgress
extends Thread

Outputs FileIO progress information. Uses global variable FileIO.data_trace_state.


Nested Class Summary
 
Nested classes/interfaces inherited from class Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 boolean shouldStop
          Clients should set this variable instead of calling Thread.stop(), which is deprecated.
 
Fields inherited from class Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Daikon.FileIOProgress()
           
 
Method Summary
 void clear()
          Clear the display; good to do before printing to System.out.
 void display()
          Displays the current status.
 void display(String message)
          Displays the given message.
 void run()
           
 
Methods inherited from class 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

shouldStop

public boolean shouldStop
Clients should set this variable instead of calling Thread.stop(), which is deprecated. Typically a client calls "display()" before setting this. The stopping happens later, and calls clear() anyway.

Constructor Detail

Daikon.FileIOProgress

public Daikon.FileIOProgress()
Method Detail

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread

clear

public void clear()
Clear the display; good to do before printing to System.out.


display

public void display()
Displays the current status. Call this if you don't want to wait until the next automatic display.


display

public void display(String message)
Displays the given message.