public class Daemon extends Thread
Thread.setDaemon(boolean) with true.Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| 构造器和说明 |
|---|
Daemon()
Construct a daemon thread.
|
Daemon(Runnable runnable)
Construct a daemon thread.
|
Daemon(ThreadGroup group,
Runnable runnable)
Construct a daemon thread to be part of a specified thread group.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Runnable |
getRunnable() |
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, yieldpublic Daemon()
public Daemon(Runnable runnable)
public Daemon(ThreadGroup group, Runnable runnable)
public Runnable getRunnable()
Copyright © 2009 The Apache Software Foundation