org.sonatype.sisu.goodies.thread
Class TaskThread
java.lang.Object
java.lang.Thread
org.sonatype.sisu.goodies.thread.ThreadSupport
org.sonatype.sisu.goodies.thread.TaskThread
- All Implemented Interfaces:
- Runnable
public class TaskThread
- extends ThreadSupport
Support for Runnable
task executing threads.
- Since:
- 1.0
Method Summary |
protected void |
doRun()
|
Methods inherited from class java.lang.Thread |
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, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, yield |
TaskThread
public TaskThread(Runnable task)
TaskThread
public TaskThread(Runnable task,
String name)
TaskThread
public TaskThread(ThreadGroup group,
Runnable task,
String name)
doRun
protected void doRun()
throws Exception
- Specified by:
doRun
in class ThreadSupport
- Throws:
Exception
Copyright © 2008-2012 Sonatype, Inc.. All Rights Reserved.