org.encog.util.concurrency
public class TaskGroup extends Object
Constructor and Description |
---|
TaskGroup(int id)
Create a task group with the specified id.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public TaskGroup(int id)
id
- The ID of the task group.public int getID()
public boolean getNoTasks()
public void taskStarting()
public void taskStopping()
public void waitForComplete()
Copyright © 2014. All Rights Reserved.