|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sapia.ubik.taskman.MultithreadedTaskManager
public class MultithreadedTaskManager
This class implements a TaskManager that creates a thread for each
task added to it.
| Constructor Summary | |
|---|---|
MultithreadedTaskManager()
|
|
| Method Summary | |
|---|---|
void |
addTask(TaskContext ctx,
Task task)
Creates an instance of this class. |
void |
shutdown()
Shuts down this instance (task processing halts). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultithreadedTaskManager()
| Method Detail |
|---|
public void addTask(TaskContext ctx,
Task task)
TaskManager
addTask in interface TaskManagerctx - the TaskContext that provides information about the task
to execute.task - the Task to execute.public void shutdown()
TaskManager
shutdown in interface TaskManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||