Class SystemUtils.StreamReaderThread
java.lang.Object
java.lang.Thread
org.aksw.shellgebra.util.SystemUtils.StreamReaderThread
- All Implemented Interfaces:
Runnable
- Enclosing class:
SystemUtils
-
Nested Class Summary
Nested classes/interfaces inherited from class Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsFields inherited from class Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
ConstructorsConstructorDescriptionStreamReaderThread(Process process, InputStream in) StreamReaderThread(Process process, InputStream in, AtomicBoolean isTerminating, Consumer<String> lineHandler) -
Method Summary
Methods inherited from class Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield
-
Field Details
-
process
-
in
-
lineConsumer
-
isTerminating
-
-
Constructor Details
-
StreamReaderThread
-
StreamReaderThread
public StreamReaderThread(Process process, InputStream in, AtomicBoolean isTerminating, Consumer<String> lineHandler)
-
-
Method Details
-
run
-
handleException
-