foxtrot
Class AbstractWorkerThread
java.lang.Object
foxtrot.AbstractWorkerThread
- All Implemented Interfaces:
- WorkerThread
- Direct Known Subclasses:
- SingleWorkerThread
public abstract class AbstractWorkerThread
- extends Object
- implements WorkerThread
Partial implementation of the WorkerThread interface.
- Version:
- $Revision: 255 $
|
Constructor Summary |
protected |
AbstractWorkerThread()
Creates a new instance of this AbstractWorkerThread, called by subclasses. |
|
Method Summary |
void |
runTask(Task task)
Runs the given Task. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractWorkerThread
protected AbstractWorkerThread()
- Creates a new instance of this AbstractWorkerThread, called by subclasses.
runTask
public void runTask(Task task)
- Description copied from interface:
WorkerThread
- Runs the given Task. This method must be called by a thread that is not the
Event Dispatch Thread, and must execute the task in the same thread of the
caller, synchronously.
- Specified by:
runTask in interface WorkerThread
- See Also:
WorkerThread.postTask(foxtrot.Task)
Copyright © 2011 KnowledgePlaza. All Rights Reserved.