private static class ShellLauncher.ChannelPumper extends java.lang.Thread implements ShellLauncher.Pumper
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandlerShellLauncher.Pumper.Slave| Modifier and Type | Field and Description |
|---|---|
private java.nio.channels.FileChannel |
inChannel |
private java.nio.channels.FileChannel |
outChannel |
private boolean |
quit |
private Ruby |
runtime |
private ShellLauncher.Pumper.Slave |
slave |
private java.lang.Object |
sync |
| Constructor and Description |
|---|
ChannelPumper(Ruby runtime,
java.nio.channels.FileChannel inChannel,
java.nio.channels.FileChannel outChannel,
ShellLauncher.Pumper.Slave slave,
java.lang.Object sync) |
| Modifier and Type | Method and Description |
|---|---|
void |
quit() |
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, yieldequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitstartprivate final java.nio.channels.FileChannel inChannel
private final java.nio.channels.FileChannel outChannel
private final ShellLauncher.Pumper.Slave slave
private final java.lang.Object sync
private volatile boolean quit
private final Ruby runtime
ChannelPumper(Ruby runtime, java.nio.channels.FileChannel inChannel, java.nio.channels.FileChannel outChannel, ShellLauncher.Pumper.Slave slave, java.lang.Object sync)
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic void quit()
quit in interface ShellLauncher.Pumper