class Piper extends Thread
Thread that reads data as fast as possible from an InputStream and
writes to the OutputStream. Used by Builder.compile(String, String, ClassProperties)
to flush the streams of a Process.Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
(package private) InputStream |
is |
(package private) Logger |
logger |
(package private) OutputStream |
os |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
Piper(Logger logger,
InputStream is,
OutputStream os) |
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
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, yieldLogger logger
InputStream is
OutputStream os
public Piper(Logger logger, InputStream is, OutputStream os)
Copyright © 2015. All Rights Reserved.