Class TrackerWaiter<T extends TaskTideModel<T>>

java.lang.Object
org.tasktide.engine.trackers.TrackerWaiter<T>
Type Parameters:
T - of TaskTideModel

@Deprecated public class TrackerWaiter<T extends TaskTideModel<T>> extends Object
Deprecated.
Class to the hold the logic for how to wait on completion of tasks processing for TaskTideModel through the ExecutorServiceTracker interface.
  • Method Details

    • waitForWorkload

      public boolean waitForWorkload()
      Deprecated.
      Wait on workload processing to be completed. Either by completion of all tasks, or threshold of failures reached
      Returns:
      boolean
    • getFailed

      public int getFailed()
      Deprecated.
      Return count of failed
      Returns:
      int
    • getDone

      public int getDone()
      Deprecated.
      Return count of done
      Returns:
      int
    • getActive

      public int getActive()
      Deprecated.
      Return count of active
      Returns:
      int
    • getTasks

      public List<T> getTasks()
      Deprecated.
      Fetch tasks
      Returns:
    • getType

      public Class<T> getType()
      Deprecated.
      Fetch TaskTideModel type for waiter
      Returns:
      Class of T
    • getId

      public String getId()
      Deprecated.
      Fetch Id for waiter
      Returns:
    • toString

      public String toString()
      Deprecated.
      Represent waiter as string
      Overrides:
      toString in class Object
      Returns:
      String