|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dftproject.genesis.core.research.TaskFamily
org.dftproject.genesis.core.research.PooledTaskFamily
public abstract class PooledTaskFamily
A pooled task family maintains an internal thread pool which is used to execute tasks.
| Constructor Summary | |
|---|---|
PooledTaskFamily(Objective objective)
Creates a pooled task family for the given objective. |
|
| Method Summary | |
|---|---|
void |
cancel()
Cancels this task family and all the tasks that comprise it. |
void |
execute(Task task)
Executes the given task using the thread pool. |
java.lang.String |
getFullDescription()
Returns a full description of this task family (including canceled status). |
| Methods inherited from class org.dftproject.genesis.core.research.TaskFamily |
|---|
addListener, addTask, finished, getDescription, getIcon, getObjective, getTasks, isCanceled, removeListener, removeTask, taskCanceled, taskUpdated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PooledTaskFamily(Objective objective)
objective - the objective| Method Detail |
|---|
public void execute(Task task)
task - a taskpublic void cancel()
TaskFamily
cancel in class TaskFamilypublic java.lang.String getFullDescription()
TaskFamily
getFullDescription in class TaskFamily
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||