org.apache.hadoop.util
Class Daemon
java.lang.Object
java.lang.Thread
org.apache.hadoop.util.Daemon
- All Implemented Interfaces:
- Runnable
public class Daemon
- extends Thread
A thread that has called Thread.setDaemon(boolean)
with true.
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, 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 |
Daemon
public Daemon()
- Construct a daemon thread.
Daemon
public Daemon(Runnable runnable)
- Construct a daemon thread.
Daemon
public Daemon(ThreadGroup group,
Runnable runnable)
- Construct a daemon thread to be part of a specified thread group.
getRunnable
public Runnable getRunnable()
Copyright © 2008 The Apache Software Foundation