Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
StreamMonitor(InputStream in,
Consumer<String> inputHandler)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
requestStart() |
void |
requestStop() |
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
public StreamMonitor(InputStream in, Consumer<String> inputHandler)
in
- stream to read frominputHandler
- all characters read from in
will be forwarded
line by line (without the newline) to this handler.public void requestStart()
requestStart
in interface Monitor
public void requestStop()
requestStop
in interface Monitor
Copyright © 2021 org.pitest. All rights reserved.