public class MultiPipeThread extends Thread implements StopMonitor
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
MultiPipeThread(String name) |
| Modifier and Type | Method and Description |
|---|---|
String |
add(String name,
NonBlockingInputStream in,
OutputStream out) |
boolean |
isEmpty() |
boolean |
isStopped() |
void |
requestStop() |
void |
run() |
boolean |
shouldStop() |
int |
size() |
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, yieldpublic MultiPipeThread(String name)
public String add(String name, NonBlockingInputStream in, OutputStream out)
public boolean shouldStop()
shouldStop in interface StopMonitorpublic void requestStop()
public boolean isEmpty()
public int size()
public boolean isStopped()
Copyright © 2022 vpc open source initiative. All rights reserved.