Class Forker<T>

java.lang.Object
aQute.libg.forker.Forker<T>
Type Parameters:
T -

public class Forker<T> extends Object
A Forker is good in parallel scheduling tasks with dependencies. You can add tasks with doWhen(Collection, Object, Runnable). The collection is the list of dependencies, the object is the target, and the runnable is run to update the target. The runnable will only run when all its dependencies have ran their associated runnable.
Author:
aqute
  • Constructor Details

    • Forker

      public Forker(Executor executor)
      Constructor
      Parameters:
      executor -
    • Forker

      public Forker()
      Constructor
  • Method Details