protected class BaseOSProcessHandler.SimpleOutputReader extends BaseOutputReader
BaseOutputReader.Options
BaseDataReader.AdaptiveSleepingPolicy, BaseDataReader.SleepingPolicy
myReader
isStopped, mySleepingPolicy, mySleepMonitor
Constructor and Description |
---|
SimpleOutputReader(java.io.Reader reader,
Key<?> outputType,
BaseOutputReader.Options options,
java.lang.String presentableName) |
Modifier and Type | Method and Description |
---|---|
protected void |
beforeSleeping(boolean hasJustReadSomething) |
protected java.util.concurrent.Future<?> |
executeOnPooledThread(java.lang.Runnable runnable) |
protected void |
onTextAvailable(java.lang.String text) |
close, flush, readAvailableBlocking, readAvailableNonBlocking
doRun, readAvailable, start, start, stop, waitFor, waitFor
public SimpleOutputReader(java.io.Reader reader, Key<?> outputType, BaseOutputReader.Options options, java.lang.String presentableName)
protected java.util.concurrent.Future<?> executeOnPooledThread(java.lang.Runnable runnable)
executeOnPooledThread
in class BaseDataReader
protected void onTextAvailable(java.lang.String text)
onTextAvailable
in class BaseOutputReader
protected void beforeSleeping(boolean hasJustReadSomething)
beforeSleeping
in class BaseDataReader