public class SubprocessReader
extends java.lang.Thread
is and consumed by consumer. When this course ends,
latch will count down.| Constructor and Description |
|---|
SubprocessReader(java.util.function.Supplier<java.io.InputStream> is,
java.util.function.Consumer<java.lang.String> consumer,
java.util.concurrent.CountDownLatch latch) |
| 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, yield