@InterfaceAudience.Private abstract class StoppableThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOG |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
StoppableThread(ThreadGroup group,
String name) |
Modifier and Type | Method and Description |
---|---|
void |
awaitTermination() |
abstract void |
sendStopSignal() |
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, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
private static final org.slf4j.Logger LOG
public StoppableThread(ThreadGroup group, String name)
public abstract void sendStopSignal()
public void awaitTermination()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.