org.apache.derbyTesting.functionTests.harness
Class BackgroundStreamDrainer

java.lang.Object
  extended by 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
           
 
Constructor Summary
BackgroundStreamDrainer(java.io.InputStream in, java.lang.String timemin)
           
 
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
 

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()
Specified by:
run in interface java.lang.Runnable

getData

public java.io.InputStream getData()
                            throws java.io.IOException
Throws:
java.io.IOException

Built on Sat 2009-11-28 18:44:18-0800, from revision 885187

Apache Derby V10.6 Internals - Copyright © 2004,2008 The Apache Software Foundation. All Rights Reserved.