|
|||||||||
| Home >> All >> org >> apache >> derbyTesting >> functionTests >> [ harness overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.derbyTesting.functionTests.harness
Class BackgroundStreamDrainer

java.lang.Objectorg.apache.derbyTesting.functionTests.harness.BackgroundStreamDrainer
- All Implemented Interfaces:
- java.lang.Runnable
- public class BackgroundStreamDrainer
- extends java.lang.Object
- implements java.lang.Runnable
- extends java.lang.Object
| Field Summary | |
protected java.io.ByteArrayOutputStream |
data
|
protected boolean |
finished
|
protected java.io.InputStream |
in
|
protected java.io.IOException |
ioe
|
protected java.lang.Thread |
myThread
|
protected long |
startTime
|
protected int |
timeout
|
| Constructor Summary | |
BackgroundStreamDrainer(java.io.InputStream in,
java.lang.String timemin)
|
|
| Method Summary | |
java.io.InputStream |
getData()
|
void |
run()
This method will be called by whoever wishes to run your class implementing Runnable. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
data
protected java.io.ByteArrayOutputStream data
in
protected java.io.InputStream in
finished
protected boolean finished
ioe
protected java.io.IOException ioe
startTime
protected long startTime
myThread
protected java.lang.Thread myThread
timeout
protected int timeout
| Constructor Detail |
BackgroundStreamDrainer
public BackgroundStreamDrainer(java.io.InputStream in, java.lang.String timemin)
| Method Detail |
run
public void run()
- Description copied from interface:
java.lang.Runnable - This method will be called by whoever wishes to run your class
implementing Runnable. Note that there are no restrictions on what
you are allowed to do in the run method, except that you cannot
throw a checked exception.
- Specified by:
runin interfacejava.lang.Runnable
getData
public java.io.InputStream getData() throws java.io.IOException
|
|||||||||
| Home >> All >> org >> apache >> derbyTesting >> functionTests >> [ harness overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.apache.derbyTesting.functionTests.harness.BackgroundStreamDrainer