Class PhonWorkerGroup

java.lang.Object
ca.phon.worker.PhonWorkerGroup

public class PhonWorkerGroup extends Object
  • Constructor Details

    • PhonWorkerGroup

      public PhonWorkerGroup(int taskWindow)
      Create a new task manager with the specified number of concurrent tasks.
      Parameters:
      taskWindow -
  • Method Details

    • queueTask

      public void queueTask(Runnable t)
      Add a new task to the queue.
    • begin

      public void begin()
    • shutdown

      public void shutdown()
    • isShutdown

      public boolean isShutdown()
    • getTaskList

      public Collection<Runnable> getTaskList()
    • getThreads

      public PhonWorker[] getThreads()