|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.util.concurrency.TaskGroup
public class TaskGroup
A task group is a group of tasks that you would like to execute at once. You can wait for all tasks in a task group to exit before your program continues.
| Constructor Summary | |
|---|---|
TaskGroup(int id)
Create a task group with the specified id. |
|
| Method Summary | |
|---|---|
int |
getID()
|
boolean |
getNoTasks()
|
void |
taskStarting()
Notify that a task is starting. |
void |
taskStopping()
Notify that a task is stopping. |
void |
waitForComplete()
Wait for all tasks to complete in this group. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TaskGroup(int id)
id - The ID of the task group.| Method Detail |
|---|
public int getID()
public boolean getNoTasks()
public void taskStarting()
public void taskStopping()
public void waitForComplete()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||