daikon
Class Daikon.FileIOProgress
Object
Thread
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.
|
Field Summary |
boolean |
shouldStop
Clients should set this variable instead of calling Thread.stop(),
which is deprecated. |
|
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 |
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.
Daikon.FileIOProgress
public Daikon.FileIOProgress()
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.