Package uk.ac.manchester.spinnaker.utils
Class Daemon
java.lang.Object
java.lang.Thread
uk.ac.manchester.spinnaker.utils.Daemon
- All Implemented Interfaces:
- Runnable
A thread that is a daemon by default.
- Author:
- Donal Fellows
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.ThreadThread.State, Thread.UncaughtExceptionHandler
- 
Field SummaryFields inherited from class java.lang.ThreadMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
- 
Constructor SummaryConstructorsConstructorDescriptionAllocate a new daemon thread.Allocate a new daemon thread.Daemon(ThreadGroup group, Runnable target) Allocate a new daemon thread.Daemon(ThreadGroup group, Runnable target, String name) Allocate a new daemon thread.
- 
Method SummaryMethods inherited from class java.lang.ThreadactiveCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
- 
Constructor Details- 
DaemonAllocate a new daemon thread. This thread is not running.- Parameters:
- target- the object whose- runmethod is invoked when this thread is started. Never- null.
 
- 
DaemonAllocate a new daemon thread. This thread is not running.- Parameters:
- target- the object whose- runmethod is invoked when this thread is started. Never- null.
- name- the name of the new thread
 
- 
DaemonAllocate a new daemon thread. This thread is not running.- Parameters:
- group- the object whose- runmethod is invoked when this thread is started.
- target- the object whose- runmethod is invoked when this thread is started. Never- null.
 
- 
DaemonAllocate a new daemon thread. This thread is not running.- Parameters:
- group- the thread group. If- null, the group is set to the current thread's thread group.
- target- the object whose- runmethod is invoked when this thread is started. Never- null.
- name- the name of the new thread
 
 
-