Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
protected boolean |
isClosed |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
OverseerThread(ThreadGroup tg,
Closeable thread) |
OverseerThread(ThreadGroup ccTg,
Closeable thread,
String name) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
Closeable |
getThread() |
boolean |
isClosed() |
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
public OverseerThread(ThreadGroup tg, Closeable thread)
public OverseerThread(ThreadGroup ccTg, Closeable thread, String name)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public Closeable getThread()
public boolean isClosed()
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.