Colt 1.0.1

Uses of Class
edu.oswego.cs.dl.util.concurrent.FJTask

Packages that use FJTask
edu.oswego.cs.dl.util.concurrent Standardized, efficient utility classes commonly encountered in concurrent programming. 
 

Uses of FJTask in edu.oswego.cs.dl.util.concurrent
 

Subclasses of FJTask in edu.oswego.cs.dl.util.concurrent
static class FJTask.Par
          A new Par, when executed, runs the tasks provided in the constructor in parallel using coInvoke(tasks).
static class FJTask.Par2
          A new Par(task1, task2), when executed, runs task1 and task2 in parallel using coInvoke(task1, task2).
static class FJTask.Seq
          A new Seq, when executed, invokes each task provided in the constructor, in order.
static class FJTask.Seq2
          A new Seq2(task1, task2), when executed, invokes task1 and then task2, in order.
static class FJTask.Wrap
          A FJTask that holds a Runnable r, and calls r.run when executed.
 

Methods in edu.oswego.cs.dl.util.concurrent that return FJTask
static FJTask par(FJTask[] tasks)
          Construct and return a FJTask object that, when executed, will invoke the tasks in the tasks array in parallel using coInvoke
static FJTask par(FJTask task1, FJTask task2)
          Construct and return a FJTask object that, when executed, will invoke task1 and task2, in parallel
static FJTask seq(FJTask[] tasks)
          Construct and return a FJTask object that, when executed, will invoke the tasks in the tasks array in array order
static FJTask seq(FJTask task1, FJTask task2)
          Construct and return a FJTask object that, when executed, will invoke task1 and task2, in order
 

Methods in edu.oswego.cs.dl.util.concurrent with parameters of type FJTask
 void executeTask(FJTask t)
          Specialized form of execute called only from within FJTasks
static void coInvoke(FJTask[] tasks)
          Fork all tasks in array, and await their completion.
static void coInvoke(FJTask task1, FJTask task2)
          Fork both tasks and then wait for their completion.
static void invoke(FJTask t)
          Immediately execute task t by calling its run method.
static FJTask par(FJTask[] tasks)
          Construct and return a FJTask object that, when executed, will invoke the tasks in the tasks array in parallel using coInvoke
static FJTask par(FJTask task1, FJTask task2)
          Construct and return a FJTask object that, when executed, will invoke task1 and task2, in parallel
static FJTask seq(FJTask[] tasks)
          Construct and return a FJTask object that, when executed, will invoke the tasks in the tasks array in array order
static FJTask seq(FJTask task1, FJTask task2)
          Construct and return a FJTask object that, when executed, will invoke task1 and task2, in order
 

Constructors in edu.oswego.cs.dl.util.concurrent with parameters of type FJTask
FJTask.Seq(FJTask[] tasks)
          Construct a Seq that, when executed, will process each of the tasks in the tasks array in order
FJTask.Seq(FJTask task1, FJTask task2)
          Two-task constructor, for compatibility with previous release.
FJTask.Par(FJTask[] tasks)
          Construct a Seq that, when executed, will process each of the tasks in the tasks array in parallel
FJTask.Par(FJTask task1, FJTask task2)
          Two-task constructor, for compatibility with previous release.
FJTask.Seq2(FJTask task1, FJTask task2)
           
FJTask.Par2(FJTask task1, FJTask task2)
           
 


Colt 1.0.1

Submit a bug or feature. Check the Colt home page for the latest news.