org.apache.derbyTesting.functionTests.harness
Class BackgroundStreamDrainer
java.lang.Object
org.apache.derbyTesting.functionTests.harness.BackgroundStreamDrainer
- All Implemented Interfaces:
- java.lang.Runnable
public class BackgroundStreamDrainer
- extends java.lang.Object
- implements java.lang.Runnable
|
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
|
|
Method Summary |
java.io.InputStream |
getData()
|
void |
run()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
BackgroundStreamDrainer
public BackgroundStreamDrainer(java.io.InputStream in,
java.lang.String timemin)
run
public void run()
- Specified by:
run in interface java.lang.Runnable
getData
public java.io.InputStream getData()
throws java.io.IOException
- Throws:
java.io.IOException
Apache Derby V10.6 Internals - Copyright © 2004,2008 The Apache Software Foundation. All Rights Reserved.