public class StreamFeeder extends CloseableDaemonThread
Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
StreamFeeder(String threadName,
WritableByteChannel channel,
CommandReader commandReader,
ConsoleLogger logger) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
disable() |
Throwable |
getException() |
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, yield
public StreamFeeder(@Nonnull String threadName, @Nonnull WritableByteChannel channel, @Nonnull CommandReader commandReader, @Nonnull ConsoleLogger logger)
public void disable()
public Throwable getException()
public void close() throws IOException
IOException
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.