Class RawStreamPumper
java.lang.Object
java.lang.Thread
org.apache.maven.shared.release.exec.RawStreamPumper
- All Implemented Interfaces:
Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) byte[]
(package private) boolean
private InputStream
private OutputStream
(package private) boolean
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
ConstructorsConstructorDescriptionRawStreamPumper
(InputStream in, OutputStream out) RawStreamPumper
(InputStream in, OutputStream out, boolean poll) -
Method Summary
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, 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
-
Field Details
-
in
-
out
-
done
boolean done -
poll
boolean poll -
buffer
byte[] buffer
-
-
Constructor Details
-
RawStreamPumper
-
RawStreamPumper
-
-
Method Details
-
setDone
public void setDone() -
closeInput
- Throws:
IOException
-
closeOutput
- Throws:
IOException
-
run
public void run()
-