public final class LineConsumerThread extends CloseableDaemonThread
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
LineConsumerThread(String threadName,
ReadableByteChannel channel,
EventHandler<String> eventHandler,
CountdownCloseable countdownCloseable) |
LineConsumerThread(String threadName,
ReadableByteChannel channel,
EventHandler<String> eventHandler,
CountdownCloseable countdownCloseable,
Charset encoding) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
disable() |
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, yieldpublic LineConsumerThread(@Nonnull String threadName, @Nonnull ReadableByteChannel channel, @Nonnull EventHandler<String> eventHandler, @Nonnull CountdownCloseable countdownCloseable)
public LineConsumerThread(@Nonnull String threadName, @Nonnull ReadableByteChannel channel, @Nonnull EventHandler<String> eventHandler, @Nonnull CountdownCloseable countdownCloseable, @Nonnull Charset encoding)
public void disable()
public void close()
throws IOException
IOExceptionCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.