Class BackgroundTaskManager

java.lang.Object
io.jmix.ui.sys.BackgroundTaskManager

public class BackgroundTaskManager extends Object
  • Constructor Details

    • BackgroundTaskManager

      public BackgroundTaskManager()
  • Method Details

    • addTask

      public void addTask(Future task)
      Add task to task set
      Parameters:
      task - Task
    • removeTask

      public void removeTask(Future task)
      Stop manage of stopped task
      Parameters:
      task - Task
    • cleanupTasks

      public void cleanupTasks()
      Interrupt all tasks