org.apache.nutch.util
Class Daemon

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.apache.nutch.util.Daemon
All Implemented Interfaces:
Runnable

public class Daemon
extends Thread

A thread that has called Thread.setDaemon(boolean) with true.


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Daemon()
          Construct a daemon thread.
Daemon(Runnable runnable)
          Construct a daemon thread.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Daemon

public Daemon()
Construct a daemon thread.


Daemon

public Daemon(Runnable runnable)
Construct a daemon thread.



Copyright © 2006 The Apache Software Foundation