Package org.jruby.util
Class ShellLauncher.StreamPumper
java.lang.Object
java.lang.Thread
org.jruby.util.ShellLauncher.StreamPumper
- All Implemented Interfaces:
Runnable,ShellLauncher.Pumper
- Enclosing class:
- ShellLauncher
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandlerNested classes/interfaces inherited from interface org.jruby.util.ShellLauncher.Pumper
ShellLauncher.Pumper.Slave -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final InputStreamprivate final booleanprivate final OutputStreamprivate booleanprivate final Rubyprivate final ShellLauncher.Pumper.Slaveprivate final Objectprivate final ObjectFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
ConstructorsConstructorDescriptionStreamPumper(Ruby runtime, InputStream in, OutputStream out, boolean avail, ShellLauncher.Pumper.Slave slave, Object sync) -
Method Summary
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yieldMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jruby.util.ShellLauncher.Pumper
start
-
Field Details
-
in
-
out
-
onlyIfAvailable
private final boolean onlyIfAvailable -
waitLock
-
sync
-
slave
-
quit
private volatile boolean quit -
runtime
-
-
Constructor Details
-
StreamPumper
StreamPumper(Ruby runtime, InputStream in, OutputStream out, boolean avail, ShellLauncher.Pumper.Slave slave, Object sync)
-
-
Method Details