Documentation of 'org.encog.util.concurrency.TaskGroup' Java class
TaskGroup
org.encog.util.concurrency

Class TaskGroup



  • public class TaskGroup
    extends java.lang.Object
    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

      Constructors 
      Constructor and Description
      TaskGroup(int id)
      Create a task group with the specified id.
    • Constructor Detail

      • TaskGroup

        public TaskGroup(int id)
        Create a task group with the specified id.
        Parameters:
        id - The ID of the task group.
    • Method Detail

      • getID

        public int getID()
        Returns:
        The ID of the task group.
      • getNoTasks

        public boolean getNoTasks()
        Returns:
        Returns true if there are no more tasks.
      • taskStarting

        public void taskStarting()
        Notify that a task is starting.
      • taskStopping

        public void taskStopping()
        Notify that a task is stopping.
      • waitForComplete

        public void waitForComplete()
        Wait for all tasks to complete in this group.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.