protected class BaseOSProcessHandler.SimpleOutputReader extends BaseOutputReader
BaseOutputReader.OptionsBaseDataReader.AdaptiveSleepingPolicy, BaseDataReader.SleepingPolicymyReaderisStopped, 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, readAvailableNonBlockingdoRun, readAvailable, start, start, stop, waitFor, waitForpublic 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 BaseDataReaderprotected void onTextAvailable(java.lang.String text)
onTextAvailable in class BaseOutputReaderprotected void beforeSleeping(boolean hasJustReadSomething)
beforeSleeping in class BaseDataReader