Package io.jmix.flowui.backgroundtask
@NonNullApi
package io.jmix.flowui.backgroundtask
-
ClassDescriptionBackgroundTask<T,
V> Background task for execute byBackgroundWorker.Listener of the task life cycle events, complementary to the tasks own methods:BackgroundTask.progress(List),BackgroundTask.done(Object),BackgroundTask.canceled().A default implementation of theBackgroundTask.ProgressListenerinterface with empty method bodies.Task handler forBackgroundTask.Manages background tasks within a Vaadin application session, allowing tasks to be added, removed, or all tasks to be canceled.Interface responsible for managing background task lifecycles such as starting, managing, removing, and terminating tasks.Configures and schedules the periodic task for cleaning up expired or inactive background tasks.Entry point toBackgroundTaskexecution functionality.Annotation for method that operates on UI thread and can change shared UI state.Exception that is thrown in case of incorrect access to a shared data from a thread that does not own necessary lock.LocalizedTaskWrapper<T,V> INTERNAL! Supposed to use when showingDialogor someView.Encapsulates the context in which a localized task is executed, providing access to the associatedLocalizedTaskWrapper.TaskExecutor<T,V> The TaskExecutor interface provides methods for managing the lifecycle of a background task.Lifecycle object that is passed toBackgroundTask.run(TaskLifeCycle)method to allow working thread to interact with the execution environment.Provides thread-local storage for Vaadin request.Interface that allows to read/write state of UI from background threads.Configuration properties for managing background tasks in the UI.