|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttdg.concurrency.activity.ActiveObject
guarana.toolkit.engine.Worker
public class Worker
A thread object used by the Scheduler
to execute tasks.
Constructor Summary | |
---|---|
Worker(String name,
WorkQueue workQueue)
Constructs a new worker with a given name and a source work queue. |
Method Summary |
---|
Methods inherited from class tdg.concurrency.activity.ActiveObject |
---|
getId, getName, run, start, stop, waitUntilStopped |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Worker(String name, WorkQueue workQueue)
name
- The name of the worker.workQueue
- The source work queue.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |