Interface WatchDog

All Known Implementing Classes:
TasksWatchDog, WebTasksWatchDog

public interface WatchDog
  • Method Details

    • manageTask

      void manageTask(TaskHandlerImpl taskHandler)
      Add task under WatchDog control.
      Parameters:
      taskHandler - task handler
    • removeTask

      void removeTask(TaskHandlerImpl taskHandler)
      Task completed, remove it from watches.
      Parameters:
      taskHandler - task handler
    • cleanupTasks

      void cleanupTasks()
      Remove finished, canceled or hangup tasks.
    • stopTasks

      void stopTasks()
      Stop execution of all background tasks.
    • getActiveTasksCount

      int getActiveTasksCount()
      Returns:
      active tasks count