org.erights.e.meta.java.lang
Class Bufferer
java.lang.Object
|
+--org.erights.e.meta.java.lang.Bufferer
- All Implemented Interfaces:
- Runnable
- class Bufferer
- extends Object
- implements Runnable
Run in a separate Thread to keep a Process from deadlocking.
This could be generalized into something useful from E.
- Author:
- Mark S. Miller
Method Summary |
void |
run()
Enabled: When an object implementing interface Runnable is used
to create a thread, starting the thread causes the object's
run method to be called in that separately executing
thread. |
(package private) void |
waitFor()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
myLock
private final Object myLock
myIns
private InputStream myIns
myBuf
private StringBuffer myBuf
Bufferer
Bufferer(InputStream ins,
StringBuffer buf)
run
public void run()
- Description copied from interface:
Runnable
- Enabled: When an object implementing interface
Runnable
is used
to create a thread, starting the thread causes the object's
run
method to be called in that separately executing
thread.
The general contract of the method run
is that it may
take any action whatsoever.
- Specified by:
run
in interface Runnable
- See Also:
java.lang.Thread#run()
waitFor
void waitFor()
comments?