Class TrackerWaiter<T extends TaskTideModel<T>>
java.lang.Object
org.tasktide.engine.trackers.TrackerWaiter<T>
- Type Parameters:
T- ofTaskTideModel
Deprecated.
Class to the hold the logic for how to wait on completion
of tasks processing for
TaskTideModel through the
ExecutorServiceTracker interface.-
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.Return count of activeintgetDone()Deprecated.Return count of doneintDeprecated.Return count of failedgetId()Deprecated.Fetch Id for waitergetTasks()Deprecated.Fetch tasksgetType()Deprecated.FetchTaskTideModeltype for waitertoString()Deprecated.Represent waiter as stringbooleanDeprecated.Wait on workload processing to be completed.
-
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
-
getType
-
getId
-
toString
-