Package io.jmix.ui.sys
Class BackgroundTaskManager
java.lang.Object
io.jmix.ui.sys.BackgroundTaskManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add task to task setvoid
Interrupt all tasksvoid
removeTask
(Future task) Stop manage of stopped task
-
Constructor Details
-
BackgroundTaskManager
public BackgroundTaskManager()
-
-
Method Details
-
addTask
Add task to task set- Parameters:
task
- Task
-
removeTask
Stop manage of stopped task- Parameters:
task
- Task
-
cleanupTasks
public void cleanupTasks()Interrupt all tasks
-